Re: -Wall incorrectly complains about scanf with %a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I defer to Segher's comments on C99, and retract my statements regarding "%as" versus "%a".

Seems that GNU libc's extension is (now) stomping on C99, and that "%a" (and "%A") is a valid format specifier alias for "%e".

Note that "%a" is NOT in C++98! (But may sneak in their through code-mingling. I'm not sure what C++03 says about it, if anything.)

Relevant references:
C99 sections 6.4.4.2, 6.4.8
C++98 sections 2.9, 2.13.3

Learn something new everyday! Love this forum!

--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux