Date: Mon, 25 May 2015 07:08:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 187136] [NEW PORT] irc/irccd: Fast and powerful C++ IRC bot Message-ID: <bug-187136-13-xi41QcsHcB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-187136-13@https.bugs.freebsd.org/bugzilla/> References: <bug-187136-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187136 --- Comment #5 from markand@malikania.fr --- Hello, The problem is that all GCC versions are broken on FreeBSD. Looks, even gcc 4.9 can not compile a sample C++11 code : markand@Pomme ~ $ cat test.cpp #include <string> int main(void) { std::to_string(1); std::stoi("1"); return 0; } markand@Pomme ~ $ g++49 -std=c++11 test.cpp test.cpp: In function 'int main()': test.cpp:5:2: error: 'to_string' is not a member of 'std' std::to_string(1); ^ test.cpp:6:2: error: 'stoi' is not a member of 'std' std::stoi("1"); ^ I have told to bapt@ that the compiler:c++11-lib and compiler:c++11-lang do not work at all but I don't think he really cares. Maybe because the problem comes from gcc. So the only way to make irccd compile is to either: use plain clang (default in FreeBSD 10.0) or to install clang + libc++ from ports for <10.0. Which violates the rule of not overriding CXX and CC in the port's makefile. So at the moment, I think I have no solution except giving up on this port unless someone fixes the compiler:c++11-(lib|lang) and/or gcc on FreeBSD. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-187136-13-xi41QcsHcB>