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: -pedantic and -ansi


What's replacement of typeof as standard?
On Thu, 2012-07-12 at 14:19 +0100, Andrew Haley wrote:
> On 07/12/2012 02:01 PM, Mohsen Pahlevanzadeh wrote:
> > My program should port to Android and apple, So i we decided to write standard, Do you have any idea with g++?
> 
> Yes.  If you want your code to be portable, you can't use GNU
> extensions such as typeof.
> 
> Andrew.

Attachment: signature.asc
Description: This is a digitally signed message part


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