Opened 17 years ago
Closed 16 years ago
#54 closed defect (fixed)
Ignore gcc-4.3 warnings
Reported by: | Balazs Dezso | Owned by: | Balazs Dezso |
---|---|---|---|
Priority: | minor | Milestone: | LEMON 1.0 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
The semicolon after directly the closing parse of a for loop emits warning.
Constant non reference return value emits warning.
Attachments (1)
Change History (6)
Changed 17 years ago by
Attachment: | gcc-4.3-warnings.patch added |
---|
comment:1 Changed 17 years ago by
Owner: | changed from Alpar Juttner to Balazs Dezso |
---|---|
Status: | new → assigned |
comment:2 Changed 17 years ago by
Milestone: | → LEMON 1.0 release |
---|
comment:3 follow-up: 4 Changed 17 years ago by
I suggest postponing this until all of the planned components of release 1.0 is in the repository.
comment:4 follow-up: 5 Changed 16 years ago by
One new type of data error is introduced in new gcc-4.3:
typedef SomeClass?<Param> SomeClass?;
emits error. It is used quite often in LEMON, but it can be solved with explicit reference to the namespace of SomeClass? template class.
comment:5 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to deba:
One new type of data error is introduced in new gcc-4.3:
typedef SomeClass?<Param> SomeClass?;
emits error. It is used quite often in LEMON, but it can be solved with explicit reference to the namespace of SomeClass? template class.
In fact, it says something like this:
./lemon/bits/bezier.h:35: error: declaration of ‘typedef class lemon::dim2::Point<double> lemon::dim2::BezierBase::Point’ ./lemon/dim2.h:53: error: changes meaning of ‘Point’ from ‘class lemon::dim2::Point<double>’
which is clearly stupid. Anyway, [716b220697a0] fixes this error and a couple of others.
I use gcc-4.3 as a default compiler from now on, so I close this ticket.
Solution for ignoring warnings.