On 2012-02-13 20:10, Brandon Falk wrote:
> I was having the exact same issue. The fix? 'CPP=clang-cpp' instead of
> 'CPP=clang -E' in your make.conf.

Yes, you should indeed use clang-cpp instead of clang -E.  Similarly,
never use CPP=gcc -E.

This is because in "cpp mode", both gcc and clang behave a little
differently than with -E: unknown file extensions (such as the .x
extension used for RPC) will be treated as C.

But when you use -E, any unknown file extension will be considered an
object file, and passed to the linker.

Normally, this should lead to errors during building of the rpc include
files though... I wonder why this does not happen in your case.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to