[Bug c++/27295] New: Compiler expects public access of copy constructor eventhough the cp ctr never get's invoked.
Summary: Compiler expects public access of copy constructor eventhough the cp ctr never get's invoked. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassi
[Bug c++/27295] Compiler expects public access of copy constructor eventhough the cp ctr never get's invoked.
--- Comment #1 from ram dot misc at gmail dot com 2006-04-24 23:24 --- Correction: Bug/problem context is GCC 3.4.5 (not 2.4.5) Thank you. (In reply to comment #0) > The foll. code works with GCC 2.95.2; however, it fails compile on GCC 2.4.5. > Whenever an anonymous obj