help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fpermissive


From: Sharwan Joram
Subject: Re: fpermissive
Date: Thu, 22 Nov 2012 22:32:11 -0800 (PST)
User-agent: G2/1.0

On Thursday, October 25, 2012 5:33:32 PM UTC+5:30, jasleen wrote:
> I found this error many times during program, but didnot know what is
> 
> this fpermissive and how to use it
> 
>  error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
> 
> 
> 
> sometimes I got warnings like: code will accepted with -fpermissive
> 
> 
> 
> what is fpermissive?
> 
> how to use it?

-fpermissive is used as a compilation option flag and it tells the compiler to 
not report errors (and mark all function calls for later lookup ) for which no 
declaration of function is visible at the time of definition.

~Sharwan Joram


reply via email to

[Prev in Thread] Current Thread [Next in Thread]