User forums > Help

Error: invalid instruction suffix for `push'

(1/2) > >>

Incantrix:
I tried to use one of the nightly builds, but now some of the programs I had written before no longer compile getting errors such as the thread subject.

Build log tags them as assembler messages.

Any advice on this would be appreciated.

oBFusCATed:
Read this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Incantrix:
Well, I checked the FAQ page already and there is nothing in it covering this problem.  There were also no other threads, I checked before I posted a new one.   - Turning on Full compiler logging just spits out the exact same messages.

C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s: Assembler messages:
C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s:485: Error: invalid instruction suffix for `push'
C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s:747: Error: invalid instruction suffix for `push'
C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s:749: Error: invalid instruction suffix for `push'
C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s:750: Error: invalid instruction suffix for `push'
C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s:751: Error: invalid instruction suffix for `push'
C:\Users\comp\AppData\Local\Temp/ccl1nhzH.s:942: Error: invalid instruction suffix for `pop'


If no one has a clue, I will just download the original again, but I was hoping to not have to set it all back up again.  I assume I did something wrong in adding the nightly build.  I am reading now that the nightly was to be in a new folder and not meant to replace existing files?

Alpha:

--- Quote from: Incantrix on September 19, 2012, 05:37:22 am ---Turning on Full compiler logging just spits out the exact same messages.

--- End quote ---
(The messages would be the same regardless of the level of logging.)  What you posted is just the messages (the full log is under the "Build log" tab; not the "Build messages").
Can you post your full log?

Incantrix:
mingw32-g++.exe -Wall  -g    -I"C:\Program Files (x86)\CodeBlocks\SDL-1.2.14\include"  -c C:\Users\comp\Desktop\Source\LazyFooTwo\CFile.cpp -o obj\Debug\CFile.o
C:\Users\comp\Desktop\Source\LazyFooTwo\CFile.cpp: In member function `void CFile::Render()':
C:\Users\comp\Desktop\Source\LazyFooTwo\CFile.cpp:248: warning: comparison between signed and unsigned integer expressions
C:\Users\comp\AppData\Local\Temp/cc5Dk5yf.s: Assembler messages:
C:\Users\comp\AppData\Local\Temp/cc5Dk5yf.s:485: Error: invalid instruction suffix for `push'
C:\Users\comp\AppData\Local\Temp/cc5Dk5yf.s:747: Error: invalid instruction suffix for `push'
...



There are numerous repeats of the same error, with either 'push' or 'pop'.

Navigation

[0] Message Index

[#] Next page

Go to full version