public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
@ 2003-04-29 18:56 Hallvard B Furuseth
0 siblings, 0 replies; 5+ messages in thread
From: Hallvard B Furuseth @ 2003-04-29 18:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/10548; it has been noted by GNATS.
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
To: Andrew Pinski <pinskia@physics.uc.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
Date: Tue, 29 Apr 2003 20:50:31 +0200
Andrew Pinski writes:
> This is not a bug as already pointed out but 13 is the column at which
> foo(0,0) ends.
How about giving the message 'a.c:3: column 13: <message>'?
--
Hallvard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
@ 2003-04-29 18:56 Andrew Pinski
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Pinski @ 2003-04-29 18:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/10548; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: Andrew Pinski <pinskia@physics.uc.edu>, gcc-gnats@gcc.gnu.org
Subject: Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
Date: Tue, 29 Apr 2003 14:45:59 -0400
This is not a bug as already pointed out but 13 is the column at which
foo(0,0) ends.
On Tuesday, Apr 29, 2003, at 14:20 US/Eastern, Hallvard B Furuseth
wrote:
>
>> Number: 10548
>> Category: preprocessor
>> Synopsis: Strange 'file:line:number: preprocessor error'
>> Confidential: no
>> Severity: non-critical
>> Priority: medium
>> Responsible: unassigned
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Tue Apr 29 18:26:00 UTC 2003
>> Closed-Date:
>> Last-Modified:
>> Originator: Hallvard B Furuseth
>> Release: 3.2.3
>> Organization:
> University of Oslo
>> Environment:
> System: SunOS bombur.uio.no 5.8 Generic_108528-13 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: ../gcc-3.2.3/configure --enable-languages=c,c++,f77
> --disable-shared --disable-multilib --prefix=/usit/bombur/hbf
> --enable-version-specific-runtime-libs --enable-threads
>> Description:
>
> The preprocessor gives a strange error message
> a.c:3:13: macro "foo" passed 2 arguments, but takes just 1
> 3 is the line number, but I don't know what 13 is.
>
>> How-To-Repeat:
>
> $ cat a.c
> #define foo(x) bar
>
> int foo(0, 0);
> $ gcc -S a.c
> a.c:3:13: macro "foo" passed 2 arguments, but takes just 1
>> Fix:
>> Release-Note:
>> Audit-Trail:
>> Unformatted:
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
@ 2003-04-29 18:36 Gabriel Dos Reis
0 siblings, 0 replies; 5+ messages in thread
From: Gabriel Dos Reis @ 2003-04-29 18:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR preprocessor/10548; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
Date: 29 Apr 2003 20:31:51 +0200
Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:
[...]
| The preprocessor gives a strange error message
| a.c:3:13: macro "foo" passed 2 arguments, but takes just 1
| 3 is the line number, but I don't know what 13 is.
13 is the column number.
-- Gaby
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: preprocessor/10548: Strange 'file:line:number: preprocessor error'
@ 2003-04-29 18:32 gdr
0 siblings, 0 replies; 5+ messages in thread
From: gdr @ 2003-04-29 18:32 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, h.b.furuseth, nobody
Synopsis: Strange 'file:line:number: preprocessor error'
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Tue Apr 29 18:32:34 2003
State-Changed-Why:
Not a bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10548
^ permalink raw reply [flat|nested] 5+ messages in thread
* preprocessor/10548: Strange 'file:line:number: preprocessor error'
@ 2003-04-29 18:26 Hallvard B Furuseth
0 siblings, 0 replies; 5+ messages in thread
From: Hallvard B Furuseth @ 2003-04-29 18:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10548
>Category: preprocessor
>Synopsis: Strange 'file:line:number: preprocessor error'
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 29 18:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Hallvard B Furuseth
>Release: 3.2.3
>Organization:
University of Oslo
>Environment:
System: SunOS bombur.uio.no 5.8 Generic_108528-13 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: ../gcc-3.2.3/configure --enable-languages=c,c++,f77 --disable-shared --disable-multilib --prefix=/usit/bombur/hbf --enable-version-specific-runtime-libs --enable-threads
>Description:
The preprocessor gives a strange error message
a.c:3:13: macro "foo" passed 2 arguments, but takes just 1
3 is the line number, but I don't know what 13 is.
>How-To-Repeat:
$ cat a.c
#define foo(x) bar
int foo(0, 0);
$ gcc -S a.c
a.c:3:13: macro "foo" passed 2 arguments, but takes just 1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-29 18:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 18:56 preprocessor/10548: Strange 'file:line:number: preprocessor error' Hallvard B Furuseth
-- strict thread matches above, loose matches on Subject: below --
2003-04-29 18:56 Andrew Pinski
2003-04-29 18:36 Gabriel Dos Reis
2003-04-29 18:32 gdr
2003-04-29 18:26 Hallvard B Furuseth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).