Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.programmer.misc > #3

Re: C/C++ tools

From John Holt <me@foo.net>
Newsgroups comp.sys.mac.programmer.misc
Date 2011-03-08 20:42 -0500
Message-ID <2011030820421916807-me@foonet> (permalink)
References <2011030714242616807-me@foonet> <4d75bb80$0$22164$742ec2ed@news.sonic.net>
Subject Re: C/C++ tools

Show all headers | View raw


On 2011-03-08 00:15:59 -0500, Kevin McMurtrie <mcmurtrie@pixelmemory.us> said:

> In article <2011030714242616807-me@foonet>, John Holt <me@foo.net>
> wrote:
> 
>> I am working through the port of a system from Linux to Mac OS X (more
>> like Free BSD since there are no GUI features).
>> 
>> The code is in C and C++, and already has a significant number of OS
>> specific compile conditionals for Windows and Linux.
>> 
>> Can XCode show the boundaries or nesting of #if (#ifdef, #ifndef,
>> #else) blocks?   Are there any tools that will show the boundaries?
>> 
>> Thanks in advance,
> 
> XCode is mostly useless.  It knows source code syntax but not the data
> structures that it correlates to.
> 
> I use Eclipse for Java but the C++ editor seems to be coming along
> nicely.  I just opened a test C++ project and it had deep source
> analysis.  It could show the value of each macro and it grayed out
> source that was omitted from conditionals.

Thanks.  I'll give it a try.


-- 
John Holt

Back to comp.sys.mac.programmer.misc | Previous | NextPrevious in thread | Find similar


Thread

C/C++ tools John Holt <me@foo.net> - 2011-03-07 14:24 -0500
  Re: C/C++ tools Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2011-03-07 21:15 -0800
    Re: C/C++ tools John Holt <me@foo.net> - 2011-03-08 20:42 -0500

csiph-web