Opened 11 years ago
Last modified 10 years ago
#42800 closed defect
ddd-3.3.12_2.darwin_13.x86_64.tbz2 build error — at Initial Version
Reported by: | rbdavis (Roger Davis) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | ddd |
Description
Hi, I am running MacOS 10.9.2 Mavericks and just upgraded to XCode 5.1. I completely wiped out and re-installed MacPorts from scratch. All went well except for the rebuild of ddd, which failed with compile errors. All was OK up to this point:
/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I./.. -I/opt/local/include -Os -Wall -W -Wwrite-strings -pipe -arch x86_64 -trigraphs -MT cwd.o -MD -MP -MF .deps/cwd.Tpo -c -o cwd.o cwd.C
In file included from cook.C:36:
In file included from ./cook.h:31:
./strclass.h:813:19: error: friend declaration specifying a default argument must be a definition
friend string common_prefix(const string& x, const string& y,
./strclass.h:815:19: error: friend declaration specifying a default argument must be a definition
friend string common_suffix(const string& x, const string& y
./strclass.h:866:16: error: friend declaration specifying a default argument must be a definition
friend int readline(std::istream& s, string& x,
3 errors generated.
make[2]: * [cook.o] Error 1