Re: C++ Constructors on global vars not being run ?
Re: C++ Constructors on global vars not being run ?
- Subject: Re: C++ Constructors on global vars not being run ?
- From: Tommy Nordgren <email@hidden>
- Date: Mon, 24 Sep 2007 14:43:55 +0200
On 24 sep 2007, at 14.29, Tommy Nordgren wrote:
Are you sure you have typed the constructor name correctly, in
your real code?
Enable all warnings and compile again. If you have mistyped a
constructor name,
you will get a warning that implicit return type of int is not
allowed by the current c++ standard.
Apparently this will actually generate a hard error with the default
g++ options.
So this problem will only occur if your settings use an older version
of the C++ standard.r
------
What is a woman that you forsake her, and the hearth fire and the
home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the
Dane women
Tommy Nordgren
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden