Opened 5 years ago

Last modified 5 years ago

#792 new defect

Clang checker broken

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone:
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

Running clang checker will fail. There are two problems that need to be fixed to make it work again

  • -checker-cfref argument seems no longer recognized
  • the -DCOPYRIGHT compiler option has multi-word argument and loses quotation when being passed to the analyzer

The first one can be fixed by removing the argument (don't know what it did, though). The second can be worked around by changing the copyright to contain a single word. For a fix I'm not sure. Maybe we should opt to not pass the copyright via an argument and pass it via a file instead.

Change History (1)

comment:1 by Jiří Zárevúcky, 5 years ago

Why do we even define COPYRIGHT (and RELEASE, NAME) unconditionally?
We can generate a header for manual inclusion easily enough.

Note: See TracTickets for help on using tickets.