This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]