Ticket #1178 (closed defect: fixed)
precompiled.h: clang warnings about c-header
| Reported by: | historic_bruno | Owned by: | ben |
|---|---|---|---|
| Priority: | Nice to Have | Milestone: | Alpha 9 |
| Component: | Build & Packages | Keywords: | clang,pch |
| Cc: | Yves |
Description
Building on OS X with their Command Line Tools for Xcode - February 2012 package, I get warnings like the following related to precompiled.h:
precompiled.h clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
Compiler info:
- i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
- Apple clang version 3.1 (tags/Apple/clang-318.0.45) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.3.0 Thread model: posix
Philip noticed this last year and mentioned a possible solution.
Change History
Note: See
TracTickets for help on using
tickets.

In 11258: