[haiku-bugs] Re: [Haiku] #8306: [PATCH] Allow entire tree to be compiled with DEBUG=2

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 30 Jan 2012 02:47:42 -0000

#8306: [PATCH] Allow entire tree to be compiled with DEBUG=2
---------------------------+----------------------------
   Reporter:  umccullough  |      Owner:  nobody
       Type:  bug          |     Status:  assigned
   Priority:  normal       |  Milestone:  R1/beta1
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:  DEBUG
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------
Changes (by bonefish):

 * owner:  bonefish => nobody
 * status:  new => assigned
 * component:  Build System => - General


Comment:

 Yes, defining `DEBUG` in the sources is not really recommended. If a
 certain debug level is required, it could be set in the Jamfile. In some
 cases (e.g. graphics drivers + accelerants) the debug level might need to
 be set consistently in several subdirectories. A comment to that respect
 should be added then. Or `DEBUG` could be set in a single place
 (BuildSetup) for all concerned subdirectories.

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

Other related posts: