[cfe-users] Trouble building clang trunk from source

Dmitri Gribenko gribozavr at gmail.com
Tue Jul 2 08:28:18 PDT 2013


On Tue, Jul 2, 2013 at 8:11 AM, Larry Evans <cppljevans at suddenlink.net> wrote:
> Any clues as to what one should do to get a usable clang?

Hi Larry,

You need use 'clang++' to link programs that include C++ translation units.

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-users mailing list