[Pkg-phototools-devel] Bug#546034: Bug#546034: pfstools: FTBFS with gcc 4.4 in pfspanoramic.cpp

Sebastian Harl sh at tokkee.org
Thu Sep 10 22:22:39 UTC 2009


severity 546034 normal
tags 546034 + unreproducible
thanks

Hi Fabrice,

On Thu, Sep 10, 2009 at 07:59:11PM +0000, Fabrice Coutadeur wrote:
> When trying to build pfstool with gcc 4.4 (in Ubuntu), I'm getting the following
>  error:
[…]
> pfspanoramic.cpp:198: error: invalid conversion from 'const char*' to 'char*'
[…]
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers karmic-updates
>   APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
> Architecture: amd64 (x86_64)

I failed to reproduce that build failure on Debian Sid using gcc / g++
4.4 on amd64. IIrc, Ubuntu uses a couple of different compiler flags by
default (e.g. hardening stuff) - also, GCC's behavior regarding warnings
and errors tends to be kinda indeterministic or changes every once in a
while.

Is GCC 4.4 the default on Ubuntu? If not, how did you compile the
package?

… anyway, if that function happens to be called with a non-const
argument, this is still a bug. I'm thus keeping it open for now and I'll
check if that is the case.

> As stated by upstream in http://sourceforge.net/tracker/index.php?func=detail&aid=2848391&group_id=129921&atid=716245 , the line 194 should be changed to:
> static Projection *getProjection(char *name)

Thanks for reporting this and pointing me to the appropriate upstream
bug report.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20090911/47843f7f/attachment-0001.pgp>


More information about the Pkg-phototools-devel mailing list