
Hello ¡¡¡
Probed with boost 1.38 and 1.40 on linux ubuntu karmic
Example: check64.cpp
---------------
#include "check64.hpp"
int main()
{
point2<int> png_size1(3,4);
point2<int> png_size2;
wxMessageBox( wxT("Reading png dimensions prueba.png "), wxT("Hello") );
// ok, compile into 32bits and 64bits
png_size2=png_size1;
// ok, compile into 32bits and 64bits
png_read_dimensions( "prueba.png" );
//ERROR, THIS ONLY COMPILE WITH 32bits
png_size1 = png_read_dimensions( "prueba.png" );
return 0;
}
----------------------------------------
The error when try to compile with 64bits is:
error: no match for ‘operator=’ in ‘png_size1 =
boost::gil::png_read_dimensions(const char*)()’
Anybody knows what is happening ?
The head file, check64.hpp is
-------------------------- check64.hpp -------------
#ifndef CHECK64_HPP_INCLUDED
#define CHECK64_HPP_INCLUDED
#include