Status: New Owner: ---- New issue 350 by mdmkolbe: Compile error: Ignoring return value of "write" http://code.google.com/p/v8/issues/detail?id=350
When running the target "scons d8" the following warning treated as error interrupts the compilation. This happens in revision 2025 of http://v8.googlecode.com/svn/branches/bleeding_edge. $ scons d8 <snip> g++ -o obj/release/d8-posix.o -c -Wall -Werror -W -Wno-unused-parameter -pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_IA32 -DENABLE_LOGGING_AND_PROFILING -Isrc src/d8-posix.cc cc1plus: warnings being treated as errors src/d8-posix.cc: In function 'void v8::ExecSubprocess(int*, int*, v8::ExecArgs&)': src/d8-posix.cc:283: error: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result scons: *** [obj/release/d8-posix.o] Error 1 scons: building terminated because of errors. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
