Status: New
Owner: ----

New issue 3488 by [email protected]: Build error in file platform-win32.cc, NAN undefined
http://code.google.com/p/v8/issues/detail?id=3488

The constant NAN is undefined on windows, using MINGW32 and GCC which causes the build to fail.

Command line below. Looks like it's explicitly undefined in win32-headers.h - why?

It builds when I use the _MSC_VER implementation of the function.

Thanks,
K.



C:/mingw32/bin/g++ -c -Wall -W -Wno-unused-parameter -fno-exceptions -Wnon-virtu al-dtor -fno-rtti -m32 -O2 -Idist -DWIN32 -D_HAS_EXCEPTIONS=0 -DENABLE_DEBUGGER_ SUPPORT -DV8_DEPRECATION_WARNINGS -DV8_USE_DEFAULT_PLATFORM -DENABLE_HANDLE_ZAPP ING -D_CRT_RAND_S -DV8_TARGET_ARCH_IA32 -o dist/out/platform-win32.o dist/src/ba
se/platform/platform-win32.cc
dist/src/base/platform/platform-win32.cc: In static member function 'static doub
le v8::base::OS::nan_value()':
dist/src/base/platform/platform-win32.cc:1204:10: error: 'NAN' was not declared
in this scope
   return NAN;
          ^
dist/src/base/platform/platform-win32.cc:1206:1: warning: control reaches end of
 non-void function [-Wreturn-type]
 }
 ^
makefile:122: recipe for target 'dist/out/platform-win32.o' failed
mingw32-make: *** [dist/out/platform-win32.o] Error 1


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to