G++ error [Archive] - C Board

PDA

View Full Version : G++ error


rohit
02-16-2002, 01:59 AM
hi while
compiling a qtdesigner application i got this error . any explanations please i dunno what the damn problem is ???

all my enviornment variables are set properly

regards
Rohit



make
g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DQT_NO_DEBUG -DQT_NO_CHECK -I/usr/lib/qt3/include -I.ui/ -I/root/myprograms/qt/test -I.moc/ -I/usr/lib/qt3/mkspecs/default -o .obj/form1.o .ui/form1.cpp
{standard input}: Assembler messages:
{standard input}:5: Warning: Unrecognized .section attribute: want a,w,x
{standard input}:5: Warning: Unrecognized .section attribute: want a,w,x
{standard input}:5: Error: Rest of line ignored. First ignored character is `,'.
make: *** [.obj/form1.o] Error 1

rohit
02-17-2002, 10:15 PM
hey i got the answer just remove
-mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DQT_NO_DEBUG -DQT_NO_CHECK

i googled and found
they are compiler specific for the pentium enhacements removing this helped and working fine now