RE: #line directive and -D option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hiroki,

Worked on my machine.

I think the problem is that you are not passing this to the compiler:
-D MYNAME="macrotest"

Rather, I think you are passing this to the compiler:
-D MYNAME=macrotest

Depending on your shell, you may need to escape the quotes, such as one of these two ways:
-D MYNAME=\"macrotest\"
-D MYNAME='"macrotest"'

OTHERWISE, I suspect, your shell is processing (stripping) the quotes.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux