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

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 20 Jan 2011 21:41:24 -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:
---------------------------+-------------------------

Comment (by bonefish):

 Replying to [comment:2 scottmc]:
 > 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?

 The header could theoretically `#ifdef` everything it defines, but that's
 just silly. The header is supposed to `typedef` that type and whoever
 tries to redefine it does something unportable.

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

Other related posts: