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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-phototools-devel mailing list
Pkg-phototools-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-phototools-devel

Reply via email to