Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Macro Errors

Macro Errors
Thread Tools
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Dec 18, 2001, 04:18 PM
 
Is there some simple tool to check for macro conflicts(such as using the same macro name), checking your source files against libraries?
     
davecom  (op)
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Dec 18, 2001, 07:39 PM
 
A command-line tool would fit the job perfectly...
     
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status: Offline
Reply With Quote
Dec 19, 2001, 01:41 AM
 
In particular grep is what you're looking for.
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
     
davecom  (op)
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Dec 19, 2001, 01:02 PM
 
Originally posted by Mactoid:
<STRONG>In particular grep is what you're looking for.</STRONG>
I thought grep was just for searching a file. But it won't automatically check out header files linked to by one of my files, right? I guess I should go check out its man pages now...
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Dec 19, 2001, 07:24 PM
 
Originally posted by davecom:
<STRONG>Is there some simple tool to check for macro conflicts(such as using the same macro name), checking your source files against libraries?</STRONG>
Is the compiler's complaint about redefinition of a macro not sufficient?
     
davecom  (op)
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
Dec 19, 2001, 08:22 PM
 
Originally posted by aleph_null:
<STRONG>

Is the compiler's complaint about redefinition of a macro not sufficient?</STRONG>
I want a tool that does it before compile-time.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:07 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2