Green Hills ARM Compiler has no #print directive?

Jun 05, 2007 2 Replies

First reply

Pete Fenelon

#print is nonstandard. You could try #warning, but that might have other undesired side effects. pete

Read the full reply

Green Hills users,



We have recently been converting from ARC processor to ARM processor. The ARC compiler allows inclusion of #print directives to output messages during compiling. e.g.



#if defined(RED) #print red is defined #elif defined(BLUE) #print blue is defined #else #print neither red nor blue. #endif



The old compiler printed messages when #print is encountered.



My associate says the compiler doesn't like the #print directive.



Is there a Green Hills equivalent preprocessor command?



He couldn't find it.



Rufus


#print is nonstandard.

You could try #warning, but that might have other undesired side effects.

pete

pete@fenelon.com "how many clever men have called the sun a fool?"

In article , Rufus V. Smith writes

Why not ask Green Hills Tech support?

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required