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 format: [Raw text]

c/10025: gcc 3.2.2 recognizes complex functions even without complex.h


>Number:         10025
>Category:       c
>Synopsis:       gcc 3.2.2 recognizes complex functions even without complex.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 11 09:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Arnold Robbins
>Release:        3.2.2
>Organization:
Pioneer Consulting Ltd.
>Environment:
System: Linux aahz 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr/gcc3
>Description:
	GCC recognizes the `conj' function and complains about it, even if NO headers
	are included.
>How-To-Repeat:
	int conj(a)
	int a;
	{
		return a;
	}

	main()
	{
		printf("%d\n", conj(1));
	}

	/* Note: NO header files included. Error message is:
	 * foo.c:2: warning: conflicting types for built-in function `conj'
	 */
>Fix:
>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]