Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28236 - arson-0.9.7-r3 does not compile under gcc-3.3.1-r1
Summary: arson-0.9.7-r3 does not compile under gcc-3.3.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-08 21:07 UTC by Jason Stubbs (RETIRED)
Modified: 2003-10-02 00:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Combines multi-line XML string into single line. (arson-gcc33.diff,1.64 KB, patch)
2003-09-08 21:09 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Stubbs (RETIRED) gentoo-dev 2003-09-08 21:07:12 UTC
The following errors occur when compile arson: 
 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -pipe -O2 -DNDEBUG 
-fno-check-new -DOGG -DFLAC  -c -o progressdlg.o `test -f progressdlg.cpp || 
echo './'`progressdlg.cpp 
programpage.cpp:53:1: missing terminating " character 
programpage.cpp:54: error: `group' was not declared in this scope 
programpage.cpp:54: error: parse error before `=' token 
programpage.cpp:54:21: warning: multi-character character constant 
programpage.cpp:55:31: warning: character constant too long for its type 
programpage.cpp:56:31: warning: character constant too long for its type 
programpage.cpp:59:21: warning: multi-character character constant 
programpage.cpp:60:31: warning: character constant too long for its type 
programpage.cpp:61:31: warning: character constant too long for its type 
programpage.cpp:64:21: warning: multi-character character constant 
programpage.cpp:65:31: warning: character constant too long for its type 
programpage.cpp:66:31: warning: character constant too long for its type 
programpage.cpp:69:21: warning: multi-character character constant 
programpage.cpp:70:31: warning: character constant too long for its type 
programpage.cpp:71:31: warning: multi-character character constant 
programpage.cpp:74:21: warning: multi-character character constant 
programpage.cpp:75:31: warning: character constant too long for its type 
programpage.cpp:76:31: warning: character constant too long for its type 
programpage.cpp:79:21: warning: multi-character character constant 
programpage.cpp:80:31: warning: character constant too long for its type 
programpage.cpp:81:31: warning: character constant too long for its type 
programpage.cpp:84:21: warning: multi-character character constant 
programpage.cpp:85:31: warning: character constant too long for its type 
programpage.cpp:86:31: warning: character constant too long for its type 
programpage.cpp:88:12: missing terminating " character 
programpage.cpp:103: error: syntax error before `->' token 
programpage.cpp:104: error: syntax error before `->' token 
programpage.cpp:105: error: syntax error before `->' token 
programpage.cpp:106: error: syntax error before `->' token 
programpage.cpp:107: error: syntax error before `->' token 
programpage.cpp:108: error: ISO C++ forbids declaration of `fillProgramList' 
   with no type 
programpage.cpp:111: error: `writer_drv' was not declared in this scope 
programpage.cpp:111: error: ISO C++ forbids declaration of `fillDriverList' 
   with no type 
programpage.cpp:112: error: `source_drv' was not declared in this scope 
programpage.cpp:112: error: ISO C++ forbids declaration of `fillDriverList' 
   with no type 
programpage.cpp:112: error: redefinition of `int fillDriverList' 
programpage.cpp:111: error: `int fillDriverList' previously defined here 
programpage.cpp:113: error: syntax error before `->' token 
programpage.cpp:114: error: syntax error before `->' token 
programpage.cpp:117: error: ISO C++ forbids declaration of `pl' with no type 
programpage.cpp:118: error: `driver_group' was not declared in this scope 
programpage.cpp:119: error: syntax error before `->' token 
programpage.cpp:120: error: syntax error before `->' token 
programpage.cpp:122: error: ISO C++ forbids declaration of `setupProgramPrefs' 
   with no type 
programpage.cpp:124: error: `program_list' was not declared in this scope 
programpage.cpp:125: error: invalid use of `this' at top level 
programpage.cpp:125: error: ISO C++ forbids declaration of `connect' with no 
   type 
programpage.cpp:125: error: `int QObject::connect' is not a static member of ` 
   class QObject' 
programpage.cpp:125: error: initializer list being treated as compound 
   expression 
programpage.cpp:127: error: invalid use of `this' at top level 
programpage.cpp:127: error: ISO C++ forbids declaration of `connect' with no 
   type 
programpage.cpp:127: error: `int QObject::connect' is not a static member of ` 
   class QObject' 
programpage.cpp:127: error: initializer list being treated as compound 
   expression 
programpage.cpp:128: error: parse error before `}' token 
{standard input}: Assembler messages: 
{standard input}:21: Error: symbol `fillDriverList' is already defined 
{standard input}:39: Error: symbol `_ZN7QObject7connectE' is already defined 
make[3]: *** [programpage.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory 
`/var/tmp/portage/arson-0.9.7-r3/work/arson-0.9.7-kde3/src' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/arson-0.9.7-r3/work/arson-0.9.7-kde3/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/arson-0.9.7-r3/work/arson-0.9.7-kde3' 
make: *** [all] Error 2 
 
!!! ERROR: app-cdr/arson-0.9.7-r3 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
 
There is a multi-line string constant beginning line 53. The string constant 
is XML and combining it onto a single line seems to have worked. Diff 
attached.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2003-09-08 21:09:14 UTC
Created attachment 17307 [details, diff]
Combines multi-line XML string into single line.
Comment 2 Paul Slinski 2003-09-15 12:10:29 UTC
This is true using 3.3.1-r2 as well.
Comment 3 Joshua Kinard gentoo-dev 2003-10-02 00:57:51 UTC
Resolving as FIXED.  I've added the patch in Comment #1 to CVS in arson-0.9.7-r3.ebuild.