#309 C++ friendlyness

closed
None
5
2011-01-12
2011-01-03
No

Adding parts written in C++ to sdcc is currently hard, as is reusing code from sdcc in a C++ application.
I found two problems:

- Custom bool. Suggested solution: Use bool from stdbool.h instead.
- class member in specifier. Suggested solution: Rename class to sclass.

Philipp

Discussion

  • Philipp Klaus Krause

    The bool and class issue has been resolved in header files.
    A remaining issue the conflict between SDCCy.h and the boost libraries.

    Philipp

     
  • Philipp Klaus Krause

    • assigned_to: nobody --> spth
    • status: open --> closed
     
  • Philipp Klaus Krause

    While sdcc is not C++-friendly enough to be compiled by a C++ compiler it is now possible to include sdcc headers from C++ code.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks