Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Problems with constructor of static member class

2005-06-30 by soren_t_hansen

--- In lpc2000@yahoogroups.com, "Jaromir" <jaromir.kajdaniak@z...> wrote:
> Maybe problem is, that you use non-default constructor. Static
obiects IMHO should have constructors without arguments - startup code
(that I use, and that I saw in previus posts) can only call default
constructors.

I've come a little closer, solving the problem. I've now made a small
test project which is based on the startup and linker files from a
Winarm c++ project sample. In this test, the constructors gets called
nicely with and without parameters- both for static and nonstatic objects.

Therefore my suspicion in on my makefile and the options I use in the
compilation and linking. That's what I gonna spend my day on today :o)

Thanks for the help so far - I'll come back (I hope) with the solution

Best Regards
Søren

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.