Forum Discussion
Altera_Forum
Honored Contributor
15 years agoGCC 4.1.2 Issue. New toolchain soon?
I'm running into a bug where the following code causes a compiler error: class foo {
public:
virtual const char* name() const throw();
virtual const char* faux_name() const th...
Altera_Forum
Honored Contributor
12 years agoThanks for the pointers and ideas!
--- Quote Start --- The code is compiled in a single unit and all functions are marked __attribute__((always_inline)). . --- Quote End --- Note that in gcc 4.7.3 (at least) always_inline has no effect unless the fn is declared inline. The gcc docs more or less say this. We've tripped over this several times. -Jeff