On Apr 21, 2010, at 8:47 AM, Bert Wesarg wrote:

> From that page:
> 
>     If you are writing a header file that must work when included in
> ISO C programs, write __typeof__ instead of typeof. See Alternate
> Keywords.
> 
> > Modified: trunk/src/topology.c
> 
> That does not look like a header for me.

Right, but gcc complained when used with -std=c99 unless it was __typeof__.  I 
did not check to see if icc or pgcc accepted typeof.  I read that text to be 
"if you want portable code, use __typeof__ instead of typeof."

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to