mrs $ g++-3.3 t7.cc
t7.cc: In constructor `A::A(int)':
t7.cc:11: warning: `A' is deprecated (declared at t7.cc:9)
t7.cc: In constructor `A::A(int)':
t7.cc:11: warning: `A' is deprecated (declared at t7.cc:9)
Yup, right testcase...
To support Panther I defined a MACRO:
# if defined(__GNUC__)
On Saturday, July 23, 2005, at 05:42 PM, Mathieu Malaterre wrote:
I have quite a surpising behavior with gcc when compiling the
following code (*). Here is the output:
Using:
$ g++ --version
g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
g++-4.0 --version
powerpc-apple-darwin8-g++-
Mathieu Malaterre <[EMAIL PROTECTED]> writes:
> I have quite a surpising behavior with gcc when compiling the
> following code (*). Here is the output:
>
> $ g++ deprecated.cxx /tmp
> deprecated.cxx: In constructor `A::A(int)':
> deprecated.cxx:11: warn