Green Hills ARM Compiler has no #print directive?

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

Reply to
Rufus V. Smith
Loading thread data ...

#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?"
Reply to
Pete Fenelon

In article , Rufus V. Smith writes

Why not ask Green Hills Tech support?

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

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.