This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -pedantic and -ansi
- From: Andrew Haley <aph at redhat dot com>
- To: Mohsen Pahlevanzadeh <mohsen at pahlevanzadeh dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 12 Jul 2012 14:19:54 +0100
- Subject: Re: -pedantic and -ansi
- References: <1342098081.4364.11.camel@debian>
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.