From: John Gibson <jgibson@lexmark.com>
To: gcc-help@gcc.gnu.org
Subject: help with gcc's cpp
Date: Fri, 31 Dec 1999 22:24:00 -0000 [thread overview]
Message-ID: <199912301825.NAA16974@interlock2.lexmark.com> (raw)
Message-ID: <19991231222400.9zg4wPy_sua2ehHlq8e0DtQBWguIpIAzVrH7BW7pckU@z> (raw)
I am trying to use GNU's cpp to work with our imake process. The problem is
that when the ccp get done substituting the variables for their real values I
get interjecteed spaces. For example I have some defines like this:
#define CreateDir(DirName) @@\
makedirs:CURDIR/DirName @@\
CURDIR/DirName: @@\
mkdir CURDIR/DirName @@\
the macro is called like
CreateDir(Bar)
and
on the command line there is -DCURDIR="./Foo"
and the output I get is
-----------------------------
makedirs: ./Foo / Bar
./Foo / Bar :
mkdir ./Foo / Bar
-----------------------------
Is there any way to turn this of via the comand line or something?
Thanks in advance
--
-- Thanks
John
----
John Gibson __/-\__
jgibson@lexmark.com (o o)
-------------------------------------o00o (_) o00o--
Rules to live by.
1."Never high five a pall bearer.."
----------------------------------------------------
"The Supreme Art of War is to make the enemy look foolish."
-- Li Atwater
next reply other threads:[~1999-12-31 22:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-30 10:25 John Gibson [this message]
1999-12-31 22:24 ` John Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199912301825.NAA16974@interlock2.lexmark.com \
--to=jgibson@lexmark.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).