public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/7356: misreports error location
@ 2002-07-19  2:26 jastrother
  0 siblings, 0 replies; only message in thread
From: jastrother @ 2002-07-19  2:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7356
>Category:       other
>Synopsis:       misreports error location
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 19 02:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     jastrother@hotmail.com
>Release:        2.95
>Organization:
>Environment:
redhat 7.2
>Description:
if a syntax error is made before any includes, then gcc reports the error as occuring before the first line of the first include. while this is right, it all hell to find the actual mistake. for example

a//sample
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main(int argc, char** argc) {}

will report a syntax error in an included file of an included file of stdlib.h
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-19  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-19  2:26 other/7356: misreports error location jastrother

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).