public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10120: single-line comment interfering in the next line
@ 2003-03-17 20:16 DJ Delorie
  0 siblings, 0 replies; 4+ messages in thread
From: DJ Delorie @ 2003-03-17 20:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10120; it has been noted by GNATS.

From: DJ Delorie <dj@redhat.com>
To: dmbasso@zaz.com.br
Cc: neil@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
   jannone@inf.ufrgs.br
Subject: Re: c++/10120: single-line comment interfering in the next line
Date: Mon, 17 Mar 2003 15:06:35 -0500

 > 00000710  7d 20 2f 2f 45 52 52 4f  52 20 43 4f 4d 4d 45 4e  |} //ERROR COMMEN|
 > 00000720  54 0d 20 20 20 20 20 20  6f 70 65 72 61 74 6f 72  |T.      operator|
 
 That's a Mac line ending - the LF is missing completely.


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

* Re: c++/10120: single-line comment interfering in the next line
@ 2003-03-17 19:46 Daniel Monteiro Basso
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Monteiro Basso @ 2003-03-17 19:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10120; it has been noted by GNATS.

From: Daniel Monteiro Basso <dmbasso@zaz.com.br>
To: neil@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc: Rafael Jannone <jannone@inf.ufrgs.br>
Subject: Re: c++/10120: single-line comment interfering in the next line
Date: Mon, 17 Mar 2003 16:39:25 -0300

 00000710  7d 20 2f 2f 45 52 52 4f  52 20 43 4f 4d 4d 45 4e  |} //ERROR COMMEN|
 00000720  54 0d 20 20 20 20 20 20  6f 70 65 72 61 74 6f 72  |T.      operator|
 
 No, it does not have CR/LF. I know 3.x handles the problem, I have 3.0 and 3.2 installed too, but shouldn't this thing be corrected in 2.95?
 
 Thanx,
 
 Daniel
 
 neil@gcc.gnu.org wrote:
 > Synopsis: single-line comment interfering in the next line
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: neil
 > State-Changed-When: Mon Mar 17 08:27:12 2003
 > State-Changed-Why:
 >     You had an MSDOG line ending.  3.x handles these properly.
 > 
 
 -- 
 *** It's GNU/Linux dammit! ***


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

* Re: c++/10120: single-line comment interfering in the next line
@ 2003-03-17  8:31 neil
  0 siblings, 0 replies; 4+ messages in thread
From: neil @ 2003-03-17  8:31 UTC (permalink / raw)
  To: dmbasso, gcc-bugs, gcc-prs, nobody

Synopsis: single-line comment interfering in the next line

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Mon Mar 17 08:27:12 2003
State-Changed-Why:
    You had an MSDOG line ending.  3.x handles these properly.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10120


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

* c++/10120: single-line comment interfering in the next line
@ 2003-03-17  7:06 dmbasso
  0 siblings, 0 replies; 4+ messages in thread
From: dmbasso @ 2003-03-17  7:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10120
>Category:       c++
>Synopsis:       single-line comment interfering in the next line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 17 07:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Monteiro Basso
>Release:        2.95.4
>Organization:
>Environment:
Debian GNU/Linux Sarge
g++ 2.95.4-17
libsdl1.2-dev 1.2.4-1 
>Description:
This code (inside the definition of class toggleButton):
 bool getValue() { return value; } //ERROR COMMENT
 operator bool () { return value; }

when compiled with "g++-2.95 -c ttt.cpp -I /usr/include/SDL"
outputs: "ttt.cpp:9: `class dxp::sdl::toggleButton' used where a `bool' was expected"

Removing the "//ERROR COMMENT" it compiles without error.
>How-To-Repeat:
I don't know how to repeat. I tried to make a cleaned up version to send you, but then it works fine. But with the files attached you may find out whats going on.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/gzip; name="gccBugReport.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gccBugReport.tar.gz"

H4sIAPxudT4AA+0Ya2/bNjBfK6D/4ZJimZQ4tmyn8WBHGdY0GNw2cdokWwsMCGSZttnKkiZSeSx1
f/t4pB6U4zRdgbQYqgMSk8fj3fHueLwT57zuRdHKQ4LdtO2d7e0V27abnae2/iuh1Wyu2J2d9tPW
Tqf5dEfgOzudzgrYD6pVCgnjbgywwu6hu2/9fwpPaOD5yYjAGg2ihNenUbRmGAmjwQQCd0ZY5HoE
RldRt8tGfs8waMBh5tLAtMC4MQDgA7kWJuSCKJnNrk3b6iGWh5OJT54lnIcBXFFTLqqlmPAkRiT8
Ck3ogt0DY258b0P8oJB7/QFl3HP/t+32dn7/23Yb6VvtZnX/vwU8oeNgRMYw7WMgGE/EmAYkmxp5
etg9ef6qPt3TED5lfM8wSkkCbrS5yBdifiuXMD4SaYTxOPF4njzKqcTEJHMuZhbcINLBcQ/kmjN2
fUZ6MMcNSIdLOB6Goa9I5DSMSOzyMFZ4EzmliUfRCAZzoUejAUkwDmOeBK7vX8MlAc8NfuYwIRzI
BQk4E1LABUYiN0ZNxQ4+jYk7giHx3IQRoBwuw8QfAfNicglJJAgIvIUoDnnohT5uMV12HXhChcin
hIEwBnMnhFk1YCGEgZAchb6PlqIM3AuX+u7QJ4bnuwwVQGdIE0XJ0KdeF4cCUivepFMBYz90OVzV
lE0USAsM7dqwmSHn8D4Upqbehwwjaf5OKBc2URgp1LQygk8L84uQjvCEnjjJAdrJFBFyLkewLg23
QCqOJ1dZwUOyXC9c5YCZvybrhftZPUrY9Hzoeh9Mie5lrtzgU8rSWFjCr/bV/KSphfuIx8koszYe
8EVqN9gQ4b1oRLwSu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U2trDstVR8sUQ/9j1rC7+tABSlOqLRaHqqlT15cG7s+Pbd0BrkFXEFxdBcpCa
X06pT+QVOc7ozfSaFBlBu0xZJ54J03rMbndp87LYtlhFPjBVBwEfP2r0Fqyvw6rsKeRI26j0kR3J
pmNuycFW1qpYjVZ+b1dTxvn+w2xqKsaZRMl3kXHGUQnQ+UrEro2M1NAUcrawo2u0SlwcbaG8e6/Y
vYeS7tidL8jdYrjpsLxllqOG06y3pCOkffU+AT2RtiqGbNNRel7BrzpYrJdiu2iSNrTuqbTrzi5s
dbELS3sL/arMF7JZSlJcyrmxiH08X9ZKfO/ypoIKKqigggoqqKCCCiqooIIU/gXnHwzdACgAAA==


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

end of thread, other threads:[~2003-03-17 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-17 20:16 c++/10120: single-line comment interfering in the next line DJ Delorie
  -- strict thread matches above, loose matches on Subject: below --
2003-03-17 19:46 Daniel Monteiro Basso
2003-03-17  8:31 neil
2003-03-17  7:06 dmbasso

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