[LLVMbugs] [Bug 5163] New: error: token is not a valid binary operator in a preprocessor subexpression

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Oct 10 14:54:10 PDT 2009


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

           Summary: error: token is not a valid binary operator in a
                    preprocessor subexpression
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


clang cant grok the attached test case:

pes /tmp$ clang -c gstreamer.c
gstreamer.c:15:34: error: token is not a valid binary operator in a
preprocessor subexpression
#if MPEG2_RELEASE < MPEG2_VERSION(0,5,0)
                    ~~~~~~~~~~~~~^
1 diagnostic generated.
pes /tmp$ gcc -c gstreamer.c
pes /tmp$


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