This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

other/3199: Wrong expansion of __STRICT_ANSI__ in cpp.texi



>Number:         3199
>Category:       other
>Synopsis:       Wrong expansion of __STRICT_ANSI__ in cpp.texi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 15 11:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hallvard B Furuseth
>Release:        3.0 20010611 (prerelease)
>Organization:
University of Oslo
>Environment:
System: SunOS bombur.uio.no 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

	
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: ./configure --quiet
>Description:
	cpp.texi, @item __STRICT_ANSI__, says:
		Its definition is the null string.
	However, `gcc -ansi' defines `__STRICT_ANSI__' as `1'.

>How-To-Repeat:
	$ echo '[__STRICT_ANSI__]' | ./xgcc -B./ -E -P -ansi -xc -
	[1]
>Fix:
	If -ansi did set __STRICT_ANSI__ to `' in the past, the best
	fix is probably to remove the offending sentence instead of
	correcting it, for backwards compatibility.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]