<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
Erez D wrote:
<blockquote
cite="mid:6c32b540904260553r38ab86cak848cff49415f02f5@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_quote">
<div><br>
you are right. i just wanted to give a small example instead of send my
whole project to be inspected.<br>
</div>
</div>
</div>
</blockquote>
Which I doubt anyone would.<br>
<blockquote
cite="mid:6c32b540904260553r38ab86cak848cff49415f02f5@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div>however after fixing the syntax of this small example, i can't
seem to duplicate the problem that happened in the project.<br>
</div>
</div>
</div>
</blockquote>
A clear symptom that the problem is not what you think it is.<br>
<br>
Try using "-E" on gcc - it tells it to run the C preprocessor and stop.
Inspect the resulting file - it may reveal the problem.<br>
<br>
Shachar<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>