Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 13:08:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238896] lang/gnu-apl: fix build with GCC-based architectures
Message-ID:  <bug-238896-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238896

            Bug ID: 238896
           Summary: lang/gnu-apl: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

Created attachment 205436
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205436&action=
=3Dedit
patch

C++11 is required, add USES=3Dcompiler:c++11-rang:
../UCS_string.hh: At global scope:
../UCS_string.hh:428: error: ISO C++ forbids declaration of 'basic_string' =
with
no type
../UCS_string.hh:428: error: expected ';' before '&' token
../UCS_string.hh: In member function 'void UCS_string::append(const
UCS_string&)':
../UCS_string.hh:220: error: 'template<class _CharT, class _Traits, class
_Alloc> class std::basic_string' used without template parameters

Merge
https://svn.savannah.gnu.org/viewvc/apl/trunk/src/Tokenizer.cc?r1=3D1164&r2=
=3D1177&view=3Dpatch
to fix powerpc*-specific issues.

Add include <cstring> to Error.hh for strncpy.

Change types of total_memory from unsigned to signed, those values are comp=
ared
to values of structs from base that are signed. Such comparison causes erro=
r.

--=20
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-238896-7788>