[PATCH] test-suite: Fix name clash 'log2'

robert lytton robert at xmos.com
Fri Jan 24 09:31:45 PST 2014


  It seems the xcore cmath.h file is buggy.
  We are exposing the math.h macro.
  Looking at an upstream version of the math.h header, the log2 macro has an __cplusplus guard around it.
  This is the correct fix.

  Patch is wrong.

http://llvm-reviews.chandlerc.com/D2618



More information about the llvm-commits mailing list