Oliver Betz

__declspec (bare) to avoid underscore prefix?

Discussion created by Oliver Betz on Jun 1, 2010
Latest reply on Jul 6, 2010 by Oliver Betz

Hello All,

 

anybody using __declspec (bare) or any other method to get a symbol without underscore prefix?

 

I tried __declspec (bare) as explained in the "ColdFire Build Tools Reference Manual" page 184 but CW/CF 7.2.1 complains "illegal type qualifier(s)".

 

Background: I want to have sources compiling with gcc and CW alternatively, and IMO it's cleaner to create the correct symbols in the first place instead of adding lots of aliases in the assembler part.

 

Oliver

Outcomes