[Bug c++/42302] compiler accepts calling private c++ constructor from outside of the class

2009-12-07 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-12-07 11:02 --- GCC 4.4.2 rejects this tt.cc: In function 'int main(int, char**)': tt.cc:3: error: 'A::A()' is private tt.cc:7: error: within this context -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42302

[Bug c++/42302] compiler accepts calling private c++ constructor from outside of the class

2009-12-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-07 11:10 --- Fixed then. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added