[SM-Grimoire-Bugs] [Bug 15742] New: antlr fails to build with gjc 4.4 due to missing cstdio-include

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Jun 13 16:16:42 EDT 2010


http://bugs.sourcemage.org/show_bug.cgi?id=15742

           Summary: antlr fails to build with gjc 4.4 due to missing
                    cstdio-include
           Product: Codex
           Version: test grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: henkjans_bagger at hotmail.com


Created an attachment (id=7475)
 --> (http://bugs.sourcemage.org/attachment.cgi?id=7475)
fix missing cstdio include in CharScanner.hpp

** work in progress - just good to have this as reminder **

Antlr 2.7.2 fails to build using gcj/ecj 4.4.3 with the following error-message

In file included from
/usr/src/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp:10:/usr/src/antlr-2.7.7/scripts/../lib/cpp/antlr/CharScanner.hpp:476:
error: 'EOF' was not declared in this scope

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      >> E R R O R <<
============================================================

g++ -march=native -mtune=native -m64 -pipe -DPIC -fPIC -O3 -c  -I . -I
/usr/src/antlr-2.7.7/scripts/../lib/cpp
/usr/src/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp

============================================================

Patch as attached was located in:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504861

With this patch in antlr can build using gjc 4.4

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



More information about the SM-Grimoire-Bugs mailing list