flowcanvas failed to build from source with gcc4.4

Bug #492830 reported by Eric Hedekar
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flowcanvas (Ubuntu)
Fix Released
Undecided
Eric Hedekar

Bug Description

as can be seen here: http://launchpadlibrarian.net/36472094/buildlog_ubuntu-lucid-i386.flowcanvas_0.5.1-1_FAILEDTOBUILD.txt.gz
the following error is produced when building flowcanvas on gcc4.4
In file included from /build/buildd/flowcanvas-0.5.1/flowcanvas/Canvas.hpp:25,
                 from Canvas.cpp:27:
/build/buildd/flowcanvas-0.5.1/flowcanvas/Connection.hpp:43: error: 'uint32_t' has not been declared
/build/buildd/flowcanvas-0.5.1/flowcanvas/Connection.hpp:61: error: 'uint32_t' has not been declared
/build/buildd/flowcanvas-0.5.1/flowcanvas/Connection.hpp:86: error: 'uint32_t' does not name a type
make[2]: *** [Canvas.lo] Error 1

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

looks like
#include <stdint.h>
needs to be added to
flowcanvas/Connection.hpp

Changed in flowcanvas (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Bienia (geser) wrote :

As Connection.hpp indicates to be a C++ header file, wouldn't it be better to use "#include <cstdint>"?

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

your absolutely right Michael but with <cstdint>

error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.

so i suppose its a decision whether to enable the new c++0x stuff or go with <stdint.h>, i'd probably just go with <stdint.h>

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

The authors svn version contains <stdint.h> so i guess thats the way to go

Revision history for this message
Eric Hedekar (stochastic) wrote :

I discussed this with upstream and they claim "a fix for that was committed to svn ages ago" and furthermore, that he'll "do a release very soon to fix this". I'm happy to update the package when that occurs (and/or write a patch should the new release take too long).

Changed in flowcanvas (Ubuntu):
assignee: nobody → Eric Hedekar (stochastic)
Revision history for this message
Michael Bienia (geser) wrote :

Fixed in flowcanvas 0.5.1-1ubuntu1.

Changed in flowcanvas (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.