Yep, it would work as a stop-gap measure, but since the next gcc
release will be just around the corner and will break more stuff, as
they usually do with every realease, I think a more thorough code
review might be more helpful. While we're at it, we might also try to
get rid of the thousands of warnings that Clang throws under FreeBSD.
All those recent C++ standards really hake a machete to legacy code :(

On Sun, 2020-11-22 at 22:22 +0000, Marcin Cieslak wrote:
> On Sun, 22 Nov 2020, Marcin Cieslak wrote:
> 
> > On Sun, 22 Nov 2020, Danilo Pecher via cdesktopenv-devel wrote:
> > 
> > > Yep. gccc 10.2. Bloody hell, why can't people just stop breaking
> > > things
> > > with feature creep. I'll have a look tomorrow if I can use
> > > Marcin's
> > > method to get this to compile.
> 
> Adding -fcommon for CcCmd in linux.cf (there must be a better place
> for this) worked,
> I only get this DWARF error, but dtmail gets built anyway
> 
> g++ -g -pipe -o dtmail -O2 -fno-strict-aliasing -Wno-write-
> strings      -Wno-unused-result     -L../../../exports/lib   -
> L/usr/lib AliasListUiItem.o            AlternatesListUiItem.o 
> AntiCheckBoxUiItem.o            AttachArea
> .o    Attachment.o    CheckBoxUiItem.o               
> CheckForMailUiItem.o    ComposeCmds.o                  
> CustomListUiItem.o      Dialog.o                       
> DialogShell.o   DmxMailbox.o                    DmxMessage.o
>      DmxPrintJob.o                   DmxPrintOptions.o      
> DmxPrintOutput.o                DmxPrintSetup.o        
> DmxUtils.o                      DtEditor.o     
> DtMailEditor.o                  DtMailGenDialog.o       DtMail
> WDM.o                     Editor.o       
> EncryptedTextFieldUiItem.o      FindDialog.o   
> Fonts.o                         Icon.o 
> IgnoreListUiItem.o              Image.o        
> InboxTextFieldUiItem.o          IndexedOptionMen
> u.o     IndexedOptionMenuUiItem.o       ListUiItem.o   
> MailRcSource.o                  MailRetrievalOptions.o 
> MailSession.o   MoveMenuListUiItem.o            MsgHndArray.o  
> MsgScrollingList.o              NoOpCmd.o       Op
> tCmd.o                        PasswordDialogManager.o        
> PropUi.o                        QueryDialogManager.o   
> RoamApp.o                       RoamCmds.o     
> RoamInterruptibleCmd.o          RoamMenuWindow.o        Scal
> eUiItem.o                   SendMsgDialog.o        
> Sort.o                          SortCmd.o      
> SpinBoxUiItem.o                 StringTab.o    
> TemplateListUiItem.o            TextFieldUiItem.o       Undelete.o
>                  ViewMsgDialog.o        
> WMSaveSession.o                 XmStrCollector.o       
> XmTextEditor.o                  XtArgCollector.o       
> dtb_utils.o                     options_stubs.o         options_ui.o
>                  options_util.o ../libDtMail/libDtMail.a
> ../MotifApp/libMotifApp.a -lDtPrint -lDtHelp -lDtWidget -lDtSvc -ltt
> -lXm -lXt -lSM -lICE -lXext -lX11 -L/usr/dt/lib   -L/usr/lib     -
> lm   -Wl,-rpath,/usr/dt/lib:/usr/li
> b 
> /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable
> specification at offset 6715
> RoamApp.o: in function `tooltalk_save_buffer_to_file(unsigned char*,
> int)':
> /home/saper/space/cdesktopenv/code/cde/programs/dtmail/dtmail/RoamApp
> .C:515: warning: the use of `tempnam' is dangerous, better use
> `mkstemp'
> /usr/bin/ld: ../libDtMail/libDtMail.a(RFCMailBox.o): in function
> `RFCMailBox::lockFile(DtMailEnv&)':
> /home/saper/space/cdesktopenv/code/cde/programs/dtmail/libDtMail/RFC/
> RFCMailBox.C:3947: warning: the use of `mktemp' is dangerous, better
> use `mkstemp' or `mkdtemp'
> make[4]: Leaving directory
> '/home/saper/space/cdesktopenv/code/cde/programs/dtmail/dtmail'




_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to