471,350 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Defines in a makefile

Hi. I've just upgraded from .Net 2002 to .Net 2003. We use makefiles to
compile our project. In the makefile, we have some #defines, which are
defined using the following syntax:

company_name = "Our Company Name"

cc_args += /DCOMPANY_NAME="""$(company_name)"""

Then cc_args is passed into cl.exe.

This worked fine for previous versions of Visual Studio, but I'm getting
errors in code since upgrading, saying:

error C2065: 'Our' : undeclared identifier

Any ideas what has changed since 2002?

Thanks for any help with this,
Jul 21 '05 #1
0 731

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Bryan Olson | last post: by
1 post views Thread by Jamie Saker | last post: by
2 posts views Thread by Juhan Voolaid | last post: by
reply views Thread by yiannis | last post: by
4 posts views Thread by Jess | last post: by
8 posts views Thread by xz | last post: by
5 posts views Thread by M.Liang Liu | last post: by
2 posts views Thread by chutsu | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.