www.digitalmars.com         C & C++   DMDScript  

c++.command-line - smake: expressions

I guess the following if's should be equivalent, but smake doesn't like the
second one:

!if 1 && defined(TEST)

!if defined(TEST) && 1
# SMAKE fatal error: invalid token ('defined(TEST) && 1')

bye, Christof

http://cmeerw.cjb.net                          Jabber: cmeerw jabber.at
mailto cmeerw at web.de                   ICQ: 93773535, Yahoo!: cmeerw

...and what have you contributed to the Net?
Oct 23 2001