public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20469] New: gcjh does not rename Java variables named NULL
@ 2005-03-15 17:39 strk at keybit dot net
  2005-06-13  0:44 ` [Bug java/20469] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: strk at keybit dot net @ 2005-03-15 17:39 UTC (permalink / raw)
  To: java-prs

headers generated by gcjh contains class members (didn't check about other
kind of objects) named 'NULL'. This is the name used in Java sourcecode, but
cannot be safely used in C++ headers as NULL is always (or often?) defined.

g++ error raised when including the produced headers is:

error: expected unqualified-id before numeric constant

-- 
           Summary: gcjh does not rename Java variables named NULL
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: strk at keybit dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20469


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug java/20469] gcjh does not rename Java variables named NULL
  2005-03-15 17:39 [Bug java/20469] New: gcjh does not rename Java variables named NULL strk at keybit dot net
@ 2005-06-13  0:44 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-13  0:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-13 00:44 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-13 00:44:47
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20469


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-13  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-15 17:39 [Bug java/20469] New: gcjh does not rename Java variables named NULL strk at keybit dot net
2005-06-13  0:44 ` [Bug java/20469] " pinskia at gcc dot gnu dot org

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