public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17370] New: #include <linux/timex.h> makes gcc give an error
@ 2004-09-09 11:11 ruben at ugr dot es
  2004-09-09 11:14 ` [Bug c/17370] " ruben at ugr dot es
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ruben at ugr dot es @ 2004-09-09 11:11 UTC (permalink / raw)
  To: gcc-bugs

>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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/17370] #include <linux/timex.h> makes gcc give an error
  2004-09-09 11:11 [Bug c/17370] New: #include <linux/timex.h> makes gcc give an error ruben at ugr dot es
@ 2004-09-09 11:14 ` ruben at ugr dot es
  2004-09-09 11:15 ` ruben at ugr dot es
  2004-09-09 16:41 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ruben at ugr dot es @ 2004-09-09 11:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ruben at ugr dot es  2004-09-09 11:14 -------
*** Bug 17371 has been marked as a duplicate of this bug. ***

-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/17370] #include <linux/timex.h> makes gcc give an error
  2004-09-09 11:11 [Bug c/17370] New: #include <linux/timex.h> makes gcc give an error ruben at ugr dot es
  2004-09-09 11:14 ` [Bug c/17370] " ruben at ugr dot es
@ 2004-09-09 11:15 ` ruben at ugr dot es
  2004-09-09 16:41 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ruben at ugr dot es @ 2004-09-09 11:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ruben at ugr dot es  2004-09-09 11:15 -------
Adding
#include <linux/time.h> 
at the top of linux/timex.h
Should fix this problem.

-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/17370] #include <linux/timex.h> makes gcc give an error
  2004-09-09 11:11 [Bug c/17370] New: #include <linux/timex.h> makes gcc give an error ruben at ugr dot es
  2004-09-09 11:14 ` [Bug c/17370] " ruben at ugr dot es
  2004-09-09 11:15 ` ruben at ugr dot es
@ 2004-09-09 16:41 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-09 16:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-09 16:41 -------
Not a gcc bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-09 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 11:11 [Bug c/17370] New: #include <linux/timex.h> makes gcc give an error ruben at ugr dot es
2004-09-09 11:14 ` [Bug c/17370] " ruben at ugr dot es
2004-09-09 11:15 ` ruben at ugr dot es
2004-09-09 16:41 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).