On Wed, Oct 27, 2010 at 14:47, pikpik <[email protected]> wrote:
> Does anyone have any idea why things from "math.h" would cause scope-
> related errors in some parts of V8? (This is using the involved files
> without changes.)
>
> After including part of the contents of "math.h" directly into a given
> complaining V8 file, sometimes the problems are resolved. When this
> happens, similar problems appear in other parts of V8. So, I'm really
> not sure what's going on. I'd be happy to upload (preprocessed, etc.)
> files, if asked.
Does it work when you include the header like so?
extern "C" {
#include <math.h>
}
If yes, then they probably forget to add a #ifdef __cplusplus in the
header file.
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users