Hi, On Oct 27, 8:54 am, Ben Noordhuis <[email protected]> wrote: > If yes, then they probably forget to add a #ifdef __cplusplus in the > header file.
I'm not sure which "#ifdef __cplusplus" it should be. Perhaps one surrounding the "function prototypes"? The "math.h" header used by GCC (4.4.3 in MINIX 3.1.9) contains only the following instance of "#ifdef __cplusplus": [ ... ] #ifndef _MATH_H #ifndef _PARAMS #if defined(__STDC__) || defined(__cplusplus) #define _PARAMS(ARGS) ARGS #else #define _PARAMS(ARGS) () #endif #endif /*_PARAMS */ #define _MATH_H [ ... ] If this isn't what you're thinking of, then I suppose the correct thing is indeed missing. pikpik -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
