[RTEMS Project] #2133: <rtems/score/basedefs.h> superfluously includes <string.h>

RTEMS trac trac at rtems.org
Thu Nov 27 14:47:36 UTC 2014


#2133: <rtems/score/basedefs.h> superfluously includes <string.h>
-----------------------------+----------------------------
 Reporter:  sebastian.huber  |       Owner:  joel.sherrill
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  5.0
Component:  cpukit           |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+----------------------------

Comment (by joel.sherrill):

 Out of curiosity, why shouldn't we just remove these includes now? There
 is no way to warn a user at compile time that they will be impacted. All
 we are doing is delaying the inevitable random number of users who are
 impacted. Hopefully that number is higher in the future than now.

 My proposal is:

 + make a announcement to users@ and devel@ that these includes were
 removed and any
   code that unintentionally depended on them will have compile errors or
 warnings.
   This will serve as a hit in Google.

 + Remove it and see what tests break. Make sure the commits for those
 issues include
   enough information in the log so Google will see those as related.

 Break and move forward.

--
Ticket URL: <http://devel.rtems.org/ticket/2133#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list