OT: c++ q

OT: c++ q

Shachar Shemesh shachar at shemesh.biz
Sun Apr 26 16:07:39 IDT 2009


Erez D wrote:
>
>
> you are right. i just wanted to give a small example instead of send 
> my whole project  to be inspected.
Which I doubt anyone would.
> however after fixing the syntax of this small example, i can't seem to 
> duplicate the problem that happened in the project.
A clear symptom that the problem is not what you think it is.

Try using "-E" on gcc - it tells it to run the C preprocessor and stop. 
Inspect the resulting file - it may reveal the problem.

Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090426/253dc781/attachment.html>


More information about the Linux-il mailing list