public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
To: gcc-gnats@gcc.gnu.org
Subject: preprocessor/10548: Strange 'file:line:number: preprocessor error'
Date: Tue, 29 Apr 2003 18:26:00 -0000	[thread overview]
Message-ID: <E19AZir-0001YN-00@bombur.uio.no> (raw)


>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:


             reply	other threads:[~2003-04-29 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 18:26 Hallvard B Furuseth [this message]
2003-04-29 18:32 gdr
2003-04-29 18:36 Gabriel Dos Reis
2003-04-29 18:56 Hallvard B Furuseth
2003-04-29 18:56 Andrew Pinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E19AZir-0001YN-00@bombur.uio.no \
    --to=h.b.furuseth@usit.uio.no \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).