[Bug c/17370] New: #include <linux/timex.h> makes gcc give an error

ruben at ugr dot es gcc-bugzilla@gcc.gnu.org
Thu Sep 9 11:11:00 GMT 2004


>cat pru.c
#include <linux/timex.h>


 int main( int argc, char * argv[] )
 {

}

>gcc pru.c
In file included from pru.c:1:
/usr/include/linux/timex.h:173: error: field `time' has incomplete type

>gcc -v
Reading specs from /mnt/backup/usrlocal/bin/../lib/gcc/i686-pc-linux-gnu/3.4.2/specs
Configured with: ./configure
Thread model: posix
gcc version 3.4.2

gcc 3.3.4 is also affected.

-- 
           Summary: #include <linux/timex.h> makes gcc give an error
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ruben at ugr dot es
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17370



More information about the Gcc-bugs mailing list