delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/04/20/23:30:58

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Trace-PostClient-IP: 68.147.232.190
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: A strange error while trying to compile wxWidgets CVS_HEAD
Organization: Systematic Software
Message-ID: <3mjg4214ctc6g84nbc8a2runimqg3gv30b@4ax.com>
References: <44475AB7 DOT 3000803 AT ttnet DOT net DOT tr> <44476470 DOT 3050607 AT ttnet DOT net DOT tr>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 66
Date: Fri, 21 Apr 2006 03:29:34 GMT
NNTP-Posting-Host: 64.59.135.176
X-Complaints-To: abuse AT shaw DOT ca
X-Trace: pd7tw1no 1145590174 64.59.135.176 (Thu, 20 Apr 2006 21:29:34 MDT)
NNTP-Posting-Date: Thu, 20 Apr 2006 21:29:34 MDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 20 Apr 2006 13:37:36 +0300 in comp.os.msdos.djgpp, Cavit Cahit
VURAL <ccvural AT ttnet DOT net DOT tr> wrote:

>GCC 's verion is  4.1.0
>
>CC Vural
>
>
>binutils
>> Hi,
>>
>> When trying to compile wxWidgets CVS_HEAD we get this error.
>>
>> ABX wrote:
>> ccvural <ccvural AT cerenbilgisayar DOT com DOT tr>:
>>
>>
>>> > I was trying to compile today's CVS HEAD on DOS , got this error.
>>> > It's fine with gcc-3.4.5 on MinGW.
>>> >       
>>
>> FYI: same error happens on our Tinderbox
>> http://signwriting.sourceforge.net/wxLogs/?log=HEAD-wxMGL-djgpp-powerpc64-unknown-linux-gnu.log.err&19Apr21:25 
>>
>> http://signwriting.sourceforge.net/wxLogs/?log=HEAD-wxBase-djgpp-powerpc64-unknown-linux-gnu.log.err&19Apr21:24 

>> But I have no idea what's that. It looks related to djgpp only.

I assume this is a gcc powerpc-linux crosscompile to
i586-pc-msdosdjgpp? 

Looks like this may be caused by not having defined a
wxLongLongNative::operator=(unsigned int), as <time.h> typedefs time_t
to _DJ_time_t and <sys/djtypes.h> typedefs _DJ_time_t to unsigned int.

>> wx/include/wx/datetime.h: In member function 'wxDateTime& 
>> wxDateTime::Set(time_t)':
>> wx/include/wx/datetime.h:1587: error: ambiguous overload for 
>> 'operator=' in '((wxDateTime*)this)->wxDateTime::m_time = timet'
>> wx/include/wx/longlong.h:133: note: candidates are: wxLongLongNative& 
>> wxLongLongNative::operator=(long long int)
>> wx/include/wx/longlong.h:135: note:                 wxLongLongNative& 
>> wxLongLongNative::operator=(long long unsigned int)
>> wx/include/wx/longlong.h:556: note:                 wxLongLongNative& 
>> wxLongLongNative::operator=(const wxULongLongNative&)
>> wx/include/wx/longlong.h:139: note:                 wxLongLongNative& 
>> wxLongLongNative::operator=(int)
>> wx/include/wx/longlong.h:141: note:                 wxLongLongNative& 
>> wxLongLongNative::operator=(long int)
>> wx/include/wx/longlong.h:143: note:                 wxLongLongNative& 
>> wxLongLongNative::operator=(long unsigned int)
>> wx/include/wx/longlong.h:108: note:                 wxLongLongNative& 
>> wxLongLongNative::operator=(const wxLongLongNative&)
>> make: *** [baselib_appbase.o] Error 1
>> FATAL ERROR: failed to compile library
>> ERROR(S) FOUND DURING RUN
>>
>>
>>
>>

-- 
Thanks. Take care, Brian Inglis 	Calgary, Alberta, Canada

Brian DOT Inglis AT CSi DOT com 	(Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
    fake address		use address above to reply

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019