[Bug c++/52103] need a finer control over -Woverloaded-virtual

2012-02-04 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52103 --- Comment #3 from mlg 2012-02-04 09:50:39 UTC --- > You can use C++11 explicit override control Since it is a lot of existing code, I'm afraid I'd have to have _them_ used override 5 or 10 or so years ago.

[Bug c++/52103] need a finer control over -Woverloaded-virtual

2012-02-03 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52103 --- Comment #1 from mlg 2012-02-03 09:14:36 UTC --- $ g++ --version g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. [...]

[Bug c++/52103] New: need a finer control over -Woverloaded-virtual

2012-02-03 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52103 Bug #: 52103 Summary: need a finer control over -Woverloaded-virtual Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug c++/47940] warn about calls to a pure virtual from a constructor/destructor

2011-03-01 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 --- Comment #6 from mlg 2011-03-01 17:23:41 UTC --- (In reply to comment #4) > (In reply to comment #0) > > > > Functions that call pure virtual functions cannot > > be called from constructors and destructors. > > This may be discovered at compi

[Bug c++/47940] can call a pure virtual from a constructor/destructor

2011-03-01 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 --- Comment #2 from mlg 2011-03-01 11:34:30 UTC --- Yes it _is_ hard to detect. My colleague was suspecting a build system bug/feature at first (hours for a full rebuild). If it was a direct call, there would be a linker error. >If the call was d

[Bug c++/47940] New: can call a pure virtual from a constructor/destructor

2011-03-01 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 Summary: can call a pure virtual from a constructor/destructor Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assig

[Bug preprocessor/38179] need a warning: macro parameter is not a whole expression within macro body

2008-11-21 Thread mlg7 at yandex dot ru
--- Comment #2 from mlg7 at yandex dot ru 2008-11-21 08:44 --- (In reply to comment #1) > The expanded text for the first one is: > int t = 1|2 & 0xFF00 ? dothis(1|2) : dothat(1|2); > > Maybe I am missing something here. > the human who is writing int t =

[Bug c/38179] New: need a warning: macro parameter is not a whole expression within macro body

2008-11-19 Thread mlg7 at yandex dot ru
t: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mlg7 at yandex dot ru http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38179

[Bug c++/38053] New: add a warning for b/c*d

2008-11-07 Thread mlg7 at yandex dot ru
uct: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mlg7 at yandex dot ru http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38053