News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Erorr while trying to compile in Mac Os -(mfpmath=sse)

Started by saharz, October 28, 2013, 11:06:34 AM

Previous topic - Next topic

saharz

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


MortenMacFly

Quote from: saharz on October 28, 2013, 11:06:34 AM
clang: error: argument unused during compilation: '-mfpmath=sse'
Remove that flag from your build options (compiler/project/target level... dunno where you added this).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]