lkml.org 
[lkml]   [2000]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectImproper headers
Date


The header files in /usr/include and /usr/include/linux seem o be rather
inconsistent. The following code spews errors.

test.c

#include <time.h>
#include <linux/time.h>

int main() {}
gcc -Wall test.c . Lots of errors.

One bypass would be to use any 1 of the headers but a problem is the
following case :

#include <foo.h> /* This in turn includes <time.h> */
#include <moo.h> /* This in turn includes <linux/time.h> */
Any workarounds ??

Shourya





--
_______________________________________________________________
Shourya Sarcar <sarcar@vsnl.com> <Tel:91-033-4710477>
Department of Computer Science and Engineering
Jadavpur University Calcutta, India 700 032
All the world's a stage..
And I am acting tonight
C - the difference : http://www.eskimo.com/~scs/C-faq/top.html
--
_______________________________________________________________
Shourya Sarcar <sarcar@vsnl.com> <Tel:91-033-4710477>
Department of Computer Science and Engineering
Jadavpur University Calcutta, India 700 032
All the world's a stage..
And I am acting tonight
C - the difference : http://www.eskimo.com/~scs/C-faq/top.html


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans