pngpp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pngpp-devel] Re: png++-0.2.1: minor change for Visual C++ 2005


From: Alexander Shulgin
Subject: [pngpp-devel] Re: png++-0.2.1: minor change for Visual C++ 2005
Date: Mon, 14 Jul 2008 15:04:40 +0300

On Mon, Jul 14, 2008 at 2:27 PM, Bobi B. <address@hidden> wrote:
> Hi,
> Here are 2 simple changes that made png++ "compatible" with Visual C++ 2005
> (using zlib 1.2.3 and libpng 1.2.29):
>
> error.hpp:77
>            : std::runtime_error(message + ": " + std::strerror(error))
> to ---
>            : std::runtime_error(std::string(message).append(":
> ").append(std::strerror(error)))
>
> also, I've to create a blank file named endian.h.
>
> IIRC, few days ago, when I made a quick test png++ test on my Debian testing
> box (g++-4.3.1) I've to remove `std' from strerror on the very same place.
>
> Great job, BTW! png++ is very convenient to use :-)

Hi,

thanks for your feedback. :-)

The check on endian.h is added to SVN trunk (there's a new file
config.hpp which deals with this sort of things).

The `std::strerror' problem might be caused by a `strerror' being a
macro...  I'll test this later.

-- 
Cheers,
Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]