-pedantic and -ansi

Mohsen Pahlevanzadeh mohsen@pahlevanzadeh.org
Thu Jul 12 16:43:00 GMT 2012


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20120712/1544692c/attachment.sig>


More information about the Gcc-help mailing list