-pedantic and -ansi

Andrew Haley aph@redhat.com
Thu Jul 12 13:20:00 GMT 2012

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.


More information about the Gcc-help mailing list