Code::Blocks Forums

User forums => Help => Topic started by: saharz on October 28, 2013, 11:06:34 am

Title: Erorr while trying to compile in Mac Os -(mfpmath=sse)
Post by: saharz on October 28, 2013, 11:06:34 am
This is the error that i get when trying to compile and run the code:

-------------- Build: Debug in hw0 (compiler: GNU GCC Compiler)---------------

gcc -Wall -Werror -pedantic -ansi -W -mfpmath=sse -msse2 -O -g  -c /Users/saharzada/Documents/hw0a/hw0/hw0q1.c -o obj/Debug/hw0q1.o

clang: error: argument unused during compilation: '-mfpmath=sse'

Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))


anyone can help me with that?

tnx
 
Title: Re: Erorr while trying to compile in Mac Os -(mfpmath=sse)
Post by: MortenMacFly on November 05, 2013, 06:58:42 pm
clang: error: argument unused during compilation: '-mfpmath=sse'
Remove that flag from your build options (compiler/project/target level... dunno where you added this).