Confirming a bug in clang++ (freeBSD

Eitan Adler lists at
Tue Jun 29 02:57:51 UTC 2010

Can anyone with FreeBSD 8.1-RC1 i386 or FreeBSD 8.1-RC2 i386 confirm
that the following code compiles and fails with the version of clang++
from ports?
This works with g++ and fails with clang++ for me.

Here is the original code
#include <iostream>
int main()
    std::cout << 1;
    return 1;

My bug report is here:

I want to know if this is my problem or a clang++ problem or a bug
somewhere else.
Eitan Adler

More information about the freebsd-ports mailing list