[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix include order (#562)

Ken Dickey notifications at github.com
Mon Jul 26 14:31:45 UTC 2021


On 2021-07-25 23:32, Marcel Taeumel wrote:

>>  Would you post the details where "features.h" is included first?

OK.  I captured the entire trace, but I believe the salient section is:

vvv===vvv
gcc -Wall   -g -O2 -DNDEBUG -DDEBUGVM=0 -D_GNU_SOURCE -DUSEEVDEV 
-DI_REALLY_DONT_CARE_HOW_UNSAFE_THIS_IS -DUSE_MIDI_ALSA -DCOGMTVM=0 
-pthread -DLSB_FIRST=1 -march=armv6 -mfpu=vfp -mfloat-abi=hard 
-Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value 
-Wno-unused-label -Wno-unused-function -Wno-unused-variable 
-Wno-unused-but-set-variable -DENABLE_FAST_BLT -DHAVE_CONFIG_H  
-DSQUEAK_BUILTIN_PLUGIN 
-I/home/pi/OpenSmalltalk/kenVMfix/build.linux32ARMv6/squeak.cog.spur/build 
-I/home/pi/OpenSmalltalk/kenVMfix/build.linux32ARMv6/squeak.cog.spur/build 
-I/home/pi/OpenSmalltalk/kenVMfix/platforms/unix/vm 
-I/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/vm 
-I/home/pi/OpenSmalltalk/kenVMfix/spursrc/vm -I/usr/local/include 
-I/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/plugins/BitBltPlugin  
-march=armv6 -mfpu=vfp -mfloat-abi=hard -Wno-missing-braces 
-Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label 
-Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable   
-c -o BitBltArmSimd.o 
/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/plugins/BitBltPlugin/BitBltArmSimd.c
In file included from 
/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/vm/sqMemoryAccess.h:23,
                  from 
/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/vm/sqVirtualMachine.h:30,
                  from 
/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/plugins/BitBltPlugin/BitBltDispatch.h:30,
                  from 
/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/plugins/BitBltPlugin/BitBltInternal.h:29,
                  from 
/home/pi/OpenSmalltalk/kenVMfix/platforms/Cross/plugins/BitBltPlugin/BitBltArmSimd.c:29:
/home/pi/OpenSmalltalk/kenVMfix/build.linux32ARMv6/squeak.cog.spur/build/config.h:40:2: 
error: #error This file was included too late. Please make sure it is 
included earlier
  #error This file was included too late. Please make sure it is included 
earlier
   ^~~~~
make[1]: *** [Makefile:182: BitBltArmSimd.o] Error 1
make: *** [Makefile:426: BitBltPlugin/BitBltPlugin.a] Error 2
make: *** Waiting for unfinished jobs....
^^^===^^^


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/562#issuecomment-886755816
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210726/c1b71d2c/attachment.html>


More information about the Vm-dev mailing list