Menu

#5 library header incompatible with c++

open
nobody
None
5
2006-08-26
2006-08-26
No

The header file(s) of this project are incompatible
with C++ programs.

What needs to be done is adding

#ifdef __cplusplus
extern "C" {
#endif

just before the function declarations and

#ifdef __cplusplus
}
#endif

just after them. Maybe also put the keyword

extern

just in front of every function.

The changed file is attached.

Discussion

  • Bas Mevissen

    Bas Mevissen - 2006-08-26
     
  • Bas Mevissen

    Bas Mevissen - 2006-08-26

    Logged In: YES
    user_id=1086589

    Here the fix in diff format

     
  • Bas Mevissen

    Bas Mevissen - 2006-08-26
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.