>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 .-.-. --... ...-- -.. .
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
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