[LLVMbugs] [Bug 3672] New: Syntax error not rejected with -pedantic-errors

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 25 17:46:54 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3672

           Summary: Syntax error not rejected with -pedantic-errors
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


void g18(void) {
  extern int g19;
}
int *p=&g19;

g19 is undefined, therefore not an expression, so this is a syntax error and
must be rejected with -pedantic-errors.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list