Bug 204261 - systm.h doesn’t take advantage of __freebsd_kprintf__ clang format
Summary: systm.h doesn’t take advantage of __freebsd_kprintf__ clang format
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 18:18 UTC by Anton Rang
Modified: 2015-11-10 15:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Rang 2015-11-03 18:18:46 UTC
clang 3.7 understands the FreeBSD kernel printf extensions (as did the old 3.3 clang fork), but taking advantage of this now requires using the __freebsd_kprintf__ format in the printflike macros.  This hasn't been done in CURRENT.
Comment 1 Anton Rang 2015-11-10 15:41:12 UTC
Ugh, this is done via a -D in a makefile.

Not the cleanest but it works.