User forums > Using Code::Blocks

cc1plus: error: unrecognized command line option "-mthreads"

(1/1)

b4silence:
Hello all!


I'm getting this weird error when I try to build my project:


--- Code: ---cc1plus: error: unrecognized command line option "-mthreads"
--- End code ---

I'm running Code::Blocks SVN 4421in a Linux enviroment.


Thanks!

Ceniza:
Remove -mthreads from your project options. That only works for MinGW.

Navigation

[0] Message Index

Go to full version