Your gcc is very picky about type errors where the types only differ by volatileness. Old gcc?
This volatileness isn't actually needed any more so I am ripping it out in http://codereview.chromium.org/5979001/ which should solve your problem. 16. dec. 2010 22.52 skrev pikpik <[email protected]>: > Hi, > > I turned off the "-Werror" option for GCC/G++ and applied a recent > patch from the FreeBSD port of V8, and now I have this problem: > > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > /bin/g++ -o obj/release/spaces.o -c -Wall -W -Wno-unused-parameter - > Wnon-virtual-dtor -pedantic -I/usr/pkg/include -m32 -O3 -fomit-frame- > pointer -Wno-char-subscripts -fno-strict-aliasing -I/usr/pkg/include - > fno-rtti -fno-exceptions -I/usr/pkg/include -Wall -W -Wno-unused- > parameter -Wnon-virtual-dtor -pedantic -I/usr/pkg/include -m32 -O3 - > fomit-frame-pointer -Wno-char-subscripts -fno-strict-aliasing -I/usr/ > pkg/include -DV8_TARGET_ARCH_IA32 -DENABLE_VMSTATE_TRACKING - > DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -Isrc src/ > spaces.cc > src/spaces.cc: In static member function 'static void > v8::internal::MemoryAllocator::FreeChunkTables(v8::internal::AtomicWord*, > int, int)': > src/spaces.cc:372: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > src/spaces.cc:375: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > src/spaces.cc: In static member function 'static void > v8::internal::MemoryAllocator::AddChunkUsingAddress(uintptr_t, > uintptr_t)': > src/spaces.cc:833: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > src/spaces.cc: In static member function 'static void > v8::internal::MemoryAllocator::RemoveChunkFoundUsingAddress(uintptr_t, > uintptr_t)': > src/spaces.cc:860: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > src/spaces.cc:862: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > src/spaces.cc:865: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > src/spaces.cc: In static member function 'static > v8::internal::AtomicWord* > v8::internal::MemoryAllocator::AllocatedChunksFinder(v8::internal::AtomicWord*, > uintptr_t, int, v8::internal::MemoryAllocator::CreateTables)': > src/spaces.cc:923: error: invalid conversion from > 'v8::internal::AtomicWord*' to 'volatile v8::internal::Atomic32*' > scons: *** [obj/release/spaces.o] Error 1 > scons: building terminated because of errors. > > Is this a general problem for V8 or a problem with my MINIX-specific > changes? > > Thank you, > pikpik > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- Erik Corry, Software Engineer Google Denmark ApS - Frederiksborggade 20B, 1 sal, 1360 København K - Denmark - CVR nr. 28 86 69 84 -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
