[haiku-bugs] Re: [Haiku] #7124: sys/resource.h is giving warning @ line 17 for empty declaration

  • From: "scottmc" <trac@xxxxxxxxxxxx>
  • Date: Thu, 20 Jan 2011 17:33:04 -0000

#7124: sys/resource.h is giving warning @ line 17 for empty declaration
---------------------------+-------------------------
  Reporter:  scottmc       |        Owner:  nobody
      Type:  bug           |       Status:  closed
  Priority:  normal        |    Milestone:  R1
 Component:  System/POSIX  |      Version:  R1/alpha2
Resolution:  invalid       |     Keywords:
Blocked By:                |  Has a Patch:  0
  Platform:  All           |     Blocking:
---------------------------+-------------------------
Changes (by scottmc):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 I tracked this down in xinetd, it seems that the generated config.h had
 the offending line in it:
 {{{
 #define rlim_t long long
 }}}

 I've updated the .bep file to dnl the line in configure.in that was adding
 this in.
 I'm assuming this to be an invalid ticket?  Or is there a better way to
 write the typedef so that it works even if rlim_t gets redef'd as long
 long?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7124#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: