--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: FTBFS with G++ 4.1: extra qualification
- From: Martin Michlmayr <tbm@cyrius.com>
- Date: Sat, 18 Mar 2006 23:25:15 +0000
- Message-id: <20060318232515.GB9439@deprecation.cyrius.com>
- In-reply-to: <E1FKkLI-0004oV-VC@bigsur.cyrius.com>
- References: <E1FKkLI-0004oV-VC@bigsur.cyrius.com>
Package: ivi
Version: 0.4.pre.20031121-3
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of ivi_0.4.pre.20031121-3 on bigsur by sbuild/mips 1.106
...
> c++ -O2 -fPIC -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 -I/usr/include/tcl8.4 -I/usr/include/tcl8.4 -I. -I. -I./../stub_dfio -I. ./ivi_String.cc -c
> ./ivi_String.h:46: error: extra qualification 'String::' on member 'equal'
> make[3]: *** [ivi_String.o] Error 1
> make[3]: Leaving directory `/build/tbm/ivi-0.4.pre.20031121/src/common'
> make[2]: *** [subdirs] Error 1
--- ./src/common/ivi_String.h~ 2006-03-18 23:20:37.000000000 +0000
+++ ./src/common/ivi_String.h 2006-03-18 23:20:41.000000000 +0000
@@ -43,7 +43,7 @@
int equal(String *str) const;
int equal(const char *str) const;
int equal(const char *str, Uint32 len) const;
- static int String::equal(const char *str1, const char *str2);
+ static int equal(const char *str1, const char *str2);
void operator = (const String &rhs);
void operator = (const Char *str_in);
--- ./src/common/DesignDB.h~ 2006-03-18 23:21:26.000000000 +0000
+++ ./src/common/DesignDB.h 2006-03-18 23:21:37.000000000 +0000
@@ -53,7 +53,7 @@
int getSignals(TreeNode *parent, Vector<TreeNode> *sigs,
Char **patterns, Uint32 numPatterns);
- int DesignDB::tclCmdGlob(
+ int tclCmdGlob(
int argc,
char **argv
);
@@ -80,7 +80,7 @@
* - flags
* Allows user-specified search options such as -r
*********************************************************/
- Vector<TreeNode> *DesignDB::globElems(
+ Vector<TreeNode> *globElems(
TreeNode *Parent,
const char *PathSpec,
const char *elemType,
--- ./src/common/SigDB.h~ 2006-03-18 23:21:50.000000000 +0000
+++ ./src/common/SigDB.h 2006-03-18 23:22:11.000000000 +0000
@@ -68,7 +68,7 @@
/************************************************************
* addSignal()
************************************************************/
- virtual Vector<DFIOTrace> *SigDB::addSignal(Char *path);
+ virtual Vector<DFIOTrace> *addSignal(Char *path);
/************************************************************
* addClient()
@@ -106,10 +106,10 @@
************************************************************/
private:
Int32 Configure(Uint32 argc, Char **argc, Uint32 flags);
- void SigDB::addSimSignals(IviSim *sim, const char *path);
- void SigDB::addDFIOSignals(DFIO *dfio, const char *path);
+ void addSimSignals(IviSim *sim, const char *path);
+ void addDFIOSignals(DFIO *dfio, const char *path);
- static int SigDB::SDB_SimStepEnd(
+ static int SDB_SimStepEnd(
ClientData clientData,
Tcl_Interp *interp,
int objc,
--- ./src/common/StimTraceRdr.h~ 2006-03-18 23:22:32.000000000 +0000
+++ ./src/common/StimTraceRdr.h 2006-03-18 23:22:37.000000000 +0000
@@ -75,7 +75,7 @@
IviSim *sim;
- static int StimTraceRdr::DataCB(p_cb_data cb_data_p);
+ static int DataCB(p_cb_data cb_data_p);
};
#endif /* INCLUDED_STIM_TRACE_RDR_H */
--- ./src/wave_widget/WaveWidget.h~ 2006-03-18 23:22:59.000000000 +0000
+++ ./src/wave_widget/WaveWidget.h 2006-03-18 23:23:03.000000000 +0000
@@ -611,7 +611,7 @@
* Return:
* - Returns the distance between bars
******************************************************************/
- Uint32 WaveWidget::UpdateTimeScale(
+ Uint32 UpdateTimeScale(
Uint32 pixmapStartTime,
Uint32 pixmapEndTime,
Uint32 pixmapWidth);
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
- To: 357687-close@bugs.debian.org
- Subject: Bug#357687: fixed in ivi 0.4.pre.20031121-4
- From: Martin Michlmayr <tbm@cyrius.com>
- Date: Fri, 26 May 2006 15:17:12 -0700
- Message-id: <E1FjkcK-0006ec-MM@spohr.debian.org>
Source: ivi
Source-Version: 0.4.pre.20031121-4
We believe that the bug you reported is fixed in the latest version of
ivi, which is due to be installed in the Debian FTP archive:
ivi_0.4.pre.20031121-4.diff.gz
to pool/main/i/ivi/ivi_0.4.pre.20031121-4.diff.gz
ivi_0.4.pre.20031121-4.dsc
to pool/main/i/ivi/ivi_0.4.pre.20031121-4.dsc
ivi_0.4.pre.20031121-4_i386.deb
to pool/main/i/ivi/ivi_0.4.pre.20031121-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 357687@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Michlmayr <tbm@cyrius.com> (supplier of updated ivi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 26 May 2006 23:54:18 +0200
Source: ivi
Binary: ivi
Architecture: source i386
Version: 0.4.pre.20031121-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Martin Michlmayr <tbm@cyrius.com>
Description:
ivi - graphical front-end for various HDL simulators
Closes: 357687
Changes:
ivi (0.4.pre.20031121-4) unstable; urgency=low
.
* Upload as part of the GCC 4.1 transition.
* patches/gcc-4.1_fix.dpatch: Remove extra qualifications from
C++ header files (closes: #357687).
Files:
0c6bc6d82d7a2097bdf7126ccba09d29 640 electronics optional ivi_0.4.pre.20031121-4.dsc
08516fc9628f88eeef43cca057869496 67441 electronics optional ivi_0.4.pre.20031121-4.diff.gz
719f84cb9537388c258794e2c79f5ecf 1367630 electronics optional ivi_0.4.pre.20031121-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEd3oVKb5dImj9VJ8RAosgAJ9n+mgGVCsfafWD6ar+gcwx8ZqCmwCfX6BU
MS/6iiHwxFFlNyVVTbkvi8s=
=xp4t
-----END PGP SIGNATURE-----
--- End Message ---