Hi, <br>Here is one difference between clang and gcc which makes some of our software fail when built with clang. <br>is this something you would consider fixing? <br><br><div>Thanks, <br><br></div><div>--kcc <br><br>% cat pretty.cc <br>
#include <stdio.h><br>template<class T><br>const char *foo() {<br> return __PRETTY_FUNCTION__;<br>}<br>int main() {<br> printf("%s\n", foo<int>());<br>}<br>% g++ pretty.cc && ./a.out <br>
const char* foo() [with T = int]<br>% ~/llvm/build/Release+Asserts/bin/clang++ pretty.cc && ./a.out <br>const char *foo()<br></div>