bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #41997] DDD 3.3.12 doesn't build on OS X Mavericks


From: Daniel Moch
Subject: [bug #41997] DDD 3.3.12 doesn't build on OS X Mavericks
Date: Sat, 29 Mar 2014 16:22:07 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41997>

                 Summary: DDD 3.3.12 doesn't build on OS X Mavericks
                 Project: DDD
            Submitted by: djmoch
            Submitted on: Sat 29 Mar 2014 04:22:07 PM GMT
                Category: Build
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.3.12-rc2

    _______________________________________________________

Details:

XCode g++ doesn't seem to like friend declarations:

g++ -DHAVE_CONFIG_H -I.  -I./..    -O2 -g -Wall -W -Wwrite-strings -trigraphs 
-MT ddd.o -MD -MP -MF .deps/ddd.Tpo -c -o ddd.o ddd.C
In file included from ddd.C:134:
In file included from ./ddd.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, ...


g++ version information:
g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

---

Also tried installing DDD from MacPorts using g++ from MacPorts with the same
result:
g++ (MacPorts gcc48 4.8.2_0) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 29 Mar 2014 04:22:07 PM GMT  Name: main.log  Size: 54kB   By: djmoch
MacPorts build log
<http://savannah.gnu.org/bugs/download.php?file_id=31075>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41997>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]