bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Cygwin64 Build Errors


From: Juergen Sauermann
Subject: Re: [Bug-apl] Cygwin64 Build Errors
Date: Sun, 16 Aug 2015 20:23:09 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Mike,

interesting. Apparently strlen() and strrchr() are declared differently on your system.
Should be fixed in SVN 661.

/// Jürgen


On 08/16/2015 06:35 PM, Mike Duvos wrote:
Um,

it now says g++ takes -rdynamic - No, but bombs on a bunch of other stuff.

like,,,

../APL_types.hh:522:35: error: passing 'const __DynArray<char>' as 'this' argument of 'const Type* __DynArray<Type>::get_data() [with Type = char]' discards qualifiers [-fpermissive]
       { return strlen(da.get_data()); }
                                   ^
../APL_types.hh: In function 'size_t strrchr(const __DynArray<char>&, int)':
../APL_types.hh:525:36: error: passing 'const __DynArray<char>' as 'this' argument of 'const Type* __DynArray<Type>::get_data() [with Type = char]' discards qualifiers [-fpermissive]
       { return strrchr(da.get_data(), ch); }


I just used the configure.  I didn't create it from the .ac file.



On Sun, Aug 16, 2015 at 9:08 AM, Juergen Sauermann <address@hidden> wrote:
Hi Mike,

then uname -p tells the difference, thanks.

I have modified ./configure according to Elias' comment. If you want you can test
the attached files and let me know if they work.

/// Jürgen



On 08/16/2015 05:14 PM, Mike Duvos wrote:
Hi,

My 32-bit Cygwin accepts -rdynamic.  64-bit Cygwin says it's a command line error.

For 32-bit...

$ uname -a
CYGWIN_NT-6.1 shameless 2.2.0(0.289/5/3) 2015-08-03 12:49 i686 Cygwin

$ uname -s
CYGWIN_NT-6.1

$ uname -o
Cygwin

For 64-bit...

$ uname -a
CYGWIN_NT-6.3 Optiplex 2.0.4(0.287/5/3) 2015-06-09 12:22 x86_64 Cygwin

$ uname -s
CYGWIN_NT-6.3

$ uname -o
Cygwin

Hope this helps...

Regards,

Mike






reply via email to

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