[Vm-dev] [commit][3374] CogVm source as per VMMaker.oscog-eem.1349

Esteban Lorenzano estebanlm at gmail.com
Sat Jun 13 07:17:35 UTC 2015


> On 13 Jun 2015, at 03:38, Ryan Macnak <rmacnak at gmail.com> wrote:
> 
> On Fri, Jun 12, 2015 at 12:43 AM, Esteban Lorenzano <estebanlm at gmail.com <mailto:estebanlm at gmail.com>> wrote:
> extern extern sqInt superclassOf(sqInt classPointer);
> gcc 4.6.3 (Travis CI) also says this is an error.
> 
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) is okay with it.
> 
> ps: btw, I’m using clang to compile in mac since a lot of time and I do not have problems, yes I needed to tweak a flag here and there, but not much more… of course, I use “Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)”, so is probably not the same...
> 
> What flags have you changed? We should adopt them or fix things so they aren't needed.


I’m compiling with this: 

-D_FILE_OFFSET_BITS=64 -DNDEBUG -D_GNU_SOURCE -DLSB_FIRST -DHAVE_SYS_TIME_H -DHAVE_UUID_GENERATE -Wno-unused-parameter -mmacosx-version-min=10.5 -DHAVE_NANOSLEEP -O3 -fomit-frame-pointer -DDEBUGVM=0 -fpascal-strings -DCOGVM -Qunused-arguments -funroll-loops -DDEFAULT_IMAGE_NAME="Pharo.image" -Wno-unused-value -fmessage-length=0 -DUSE_CORE_GRAPHICS -g0 -DBASE_HEADER_SIZE=4 -march=pentium-m -DBUILD_FOR_OSX -DENABLE_FAST_BLT -fasm-blocks -Wno-unused-variable -std=gnu99 -DCOGMTVM=0 -fwrapv -Wno-return-type -fno-inline-functions -fno-gcse -mfpmath=sse -arch i386 -mtune=prescott -falign-functions=16 -DUSE_GLOBAL_STRUCT=0

I think the only “CLANG Only” is: 

-fwrapv 

Esteban
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150613/f3c406e5/attachment-0001.htm


More information about the Vm-dev mailing list