Re: [avr-gcc-list] namespace::main() function c++ bug

2005-09-23 Thread Joerg Wunsch
>I think I found a bug in avr-gcc: >Every function called main() gets the stack-setup-code, even when it >is inside a namespace. ISTR there's currently work underway to make main() a normal function. That should solve your issue as well. -- cheers, J"org .-.-. --... ...-- -.. .

AW: [avr-gcc-list] namespace::main() function c++ bug

2005-09-23 Thread Haase Bjoern (PT-BEU/EMT) *
10:52 An: avr-gcc-list@nongnu.org Betreff: [avr-gcc-list] namespace::main() function c++ bug Hi, I think I found a bug in avr-gcc: Every function called main() gets the stack-setup-code, even when it is inside a namespace. Example: namespace threadA { void main (void * p) { ... } } this

[avr-gcc-list] namespace::main() function c++ bug

2005-09-23 Thread Nils Springob
Hi, I think I found a bug in avr-gcc: Every function called main() gets the stack-setup-code, even when it is inside a namespace. Example: namespace threadA { void main (void * p) { ... } } this function gets the same code as the "real" main function. I am not sure if it is allowed to name