"error: there are no arguments to..." in my code

corey taylor corey.taylor@gmail.com
Sat Nov 17 10:31:00 GMT 2007


On Nov 17, 2007 4:37 AM, mahmoodn <nt_mahmood@yahoo.com> wrote:
>
> I tried to use "make -fpermissive" but here is the error result:
>
> make: permissive: No such file or directory
> make: *** No rule to make target `permissive'.  Stop.

Ok, wow.  To be specific, -fpermissive is a g++ command line option
for c++ as noted here:

http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options

You have to add the option when you invoke g++ to compile (eg. g++
-fpermissive ...)

corey



More information about the Gcc-help mailing list