<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Problematic INCLUDE</title><link href="https://sourceforge.net/p/simosdev/bugs/2/" rel="alternate"/><link href="https://sourceforge.net/p/simosdev/bugs/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/simosdev/bugs/2/</id><updated>2003-06-26T01:27:33Z</updated><subtitle>Recent changes to 2: Problematic INCLUDE</subtitle><entry><title>Problematic INCLUDE</title><link href="https://sourceforge.net/p/simosdev/bugs/2/" rel="alternate"/><published>2003-06-26T01:27:33Z</published><updated>2003-06-26T01:27:33Z</updated><author><name>Tom </name><uri>https://sourceforge.net/u/simosdev/</uri></author><id>https://sourceforge.neteb46c9bd9215bd2bb1d1d9e78040d2e9f141a17b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The following test C program will not compile:-&lt;/p&gt;
&lt;p&gt;#include &amp;amp;lt;stdio.h&amp;amp;gt;&lt;br /&gt;
#include &amp;amp;lt;iovec.h&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;int main(int argc, char **argv) {&lt;br /&gt;
printf(&amp;amp;quot;Hello world\n&amp;amp;quot;);&lt;br /&gt;
return 1;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;# cc -Wall -O2 -I.. -I/usr/include/oskit/io/   -c -o test.o &lt;br /&gt;
test.c &lt;br /&gt;
In file included from test.c:2:&lt;br /&gt;
/usr/include/oskit/io/iovec.h:22: parse error before &lt;br /&gt;
`oskit_size_t'&lt;br /&gt;
/usr/include/oskit/io/iovec.h:22: warning: no semicolon &lt;br /&gt;
at end of struct or union&lt;br /&gt;
/usr/include/oskit/io/iovec.h:23: warning: data definition &lt;br /&gt;
has no type or storage class&lt;/p&gt;
&lt;p&gt;The same program compiles without error when iovec.h &lt;br /&gt;
isnot included. I have&lt;br /&gt;
some other software which depends on iovec.h, which &lt;br /&gt;
also refuses to compile,&lt;br /&gt;
so I believe this to be a genuine problem with the &lt;br /&gt;
header, though I can't see&lt;br /&gt;
what's going on. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>