Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Problems with constructor of static member class

2005-06-29 by Jaromir

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.

Jaromir
  ----- Original Message ----- 
  From: soren_t_hansen 
  To: lpc2000@yahoogroups.com 
  Sent: Wednesday, June 29, 2005 10:53 AM
  Subject: [lpc2000] Re: Problems with constructor of static member class


  --- In lpc2000@yahoogroups.com, "Jaromir" <jaromir.kajdaniak@z...> wrote:
  > Check also linker script. Are you sure that Keil support C++ ? I use
  GCC...
  > 

  Keil doesn't support C++, but their startup file has a lot of setup
  (PLL, MAM) that I use. If i use crt0.s (which I guess you do?) this
  stuff isn't there.

  I've added the .ctors to the linker script too, but still can't make
  it work.

  Maybe you can send me a copy of your startup file and your linker
  script? I'm growing hairless, because of this problem :o)

  /Søren


_________________________________________________________________
List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )


[Non-text portions of this message have been removed]

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.