Canul Podkopayeva wrote:

> How do I get something like this to compile?
> gcc -DVERSION="nothing v.1" nothing.c -o nothing

        gcc -DVERSION='"nothing v.1"' nothing.c -o nothing

> The problem is that I have a call in nothing.c something like
> puts(VERSION); and it doesn't work because it tells me, after
> attempting to compile, that v. is undefined.

The shell is stripping the quotes.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to