[haiku-bugs] Re: [Haiku] #12746: [Patch] netresolv: fix gcc6 build

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Sat, 07 May 2016 11:03:13 -0000

#12746: [Patch] netresolv: fix gcc6 build
--------------------------------+----------------------------
   Reporter:  mt                |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Kits/Network Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  1                 |   Platform:  All
--------------------------------+----------------------------

Comment (by mt):

 Replying to [comment:2 pulkomandy]:

The "rcsid" could be commented out, it is useful to know which version
 of *BSD we got the files from, but not of any use to the compiler.

The others can be completely removed, if the compiler says so.

 Hi, pulkomandy. All rcsids are between #if and #endif, so can I use "&&
 !defined(__HAIKU__)" to comment out them?

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

Other related posts: