Package: dx
Version: 1:4.4.0-3
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../widgets 
> -I../../../include -Dlinux  -I/usr/include    -Wall -g -fsigned-char -O2  -c 
> -o HelpWin.o HelpWin.C
> In file included from HelpWin.C:37:
> ../widgets/MultiText.h:95:1: error: "XmNmarginHeight" redefined
> In file included from /usr/include/Xm/Xm.h:76,
>                  from MainWindow.h:19,
>                  from HelpWin.h:14,
>                  from HelpWin.C:13:
> /usr/include/Xm/XmStrDefs.h:1945:1: error: this is the location of the 
> previous definition
> In file included from HelpWin.C:37:
> ../widgets/MultiText.h:96:1: error: "XmNmarginWidth" redefined
> In file included from /usr/include/Xm/Xm.h:76,
>                  from MainWindow.h:19,
>                  from HelpWin.h:14,
>                  from HelpWin.C:13:
> /usr/include/Xm/XmStrDefs.h:1957:1: error: this is the location of the 
> previous definition
> In file included from HelpWin.C:37:
> ../widgets/MultiText.h:97:1: error: "XmNwordWrap" redefined
> In file included from /usr/include/Xm/Xm.h:76,
>                  from MainWindow.h:19,
>                  from HelpWin.h:14,
>                  from HelpWin.C:13:
> /usr/include/Xm/XmStrDefs.h:2536:1: error: this is the location of the 
> previous definition
> In file included from HelpWin.C:37:
> ../widgets/MultiText.h:113:1: error: "XmCMarginHeight" redefined
> In file included from /usr/include/Xm/Xm.h:76,
>                  from MainWindow.h:19,
>                  from HelpWin.h:14,
>                  from HelpWin.C:13:
> /usr/include/Xm/XmStrDefs.h:835:1: error: this is the location of the 
> previous definition
> In file included from HelpWin.C:37:
> ../widgets/MultiText.h:114:1: error: "XmCMarginWidth" redefined
> In file included from /usr/include/Xm/Xm.h:76,
>                  from MainWindow.h:19,
>                  from HelpWin.h:14,
>                  from HelpWin.C:13:
> /usr/include/Xm/XmStrDefs.h:847:1: error: this is the location of the 
> previous definition
> In file included from HelpWin.C:37:
> ../widgets/MultiText.h:115:1: error: "XmCWordWrap" redefined
> In file included from /usr/include/Xm/Xm.h:76,
>                  from MainWindow.h:19,
>                  from HelpWin.h:14,
>                  from HelpWin.C:13:
> /usr/include/Xm/XmStrDefs.h:1312:1: error: this is the location of the 
> previous definition
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C:90: warning: deprecated conversion from string constant to 'char*'
> HelpWin.C: In member function 'virtual _WidgetRec* 
> HelpWin::createWorkArea(_WidgetRec*)':
> HelpWin.C:251: warning: deprecated conversion from string constant to 'char*'
> make[4]: *** [HelpWin.o] Error 1
> make[4]: Leaving directory `/build/tbm/dx-4.4.0/src/uipp/base'
> make[3]: *** [all-recursive] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to