The inclusion of <string> makes the word `minor' special (g++)?

Sergey Zaharchenko doublef@tele-kom.ru
Tue Oct 5 18:52:00 GMT 2004


On Tue, Oct 05, 2004 at 05:05:04PM +0400,
 Sergey Zaharchenko probably wrote:

> 
> FWIW, g++ 2.95.4 doesn't barf at any of the sources.
> 
> If I change the name `minor' to something else, everything works. But
> what if I happen to like the name:)?
> 

\From g++ -E I found that minor was macro-expanded. But the C++ standard
doesn't say anything about the definition of `minor' in <string>...

-- 
DoubleF
You should never wear your best trousers when you go out to fight for
freedom and liberty.
		-- Henrik Ibsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20041005/4cea8b55/attachment-0001.sig>


More information about the Gcc-help mailing list