Dear Craig,

Thanks very much. Here's a brief report on my situation.
With gcc 3.2.3, using cmake, my application has some lines as:

  PdfRect myrect(double(left),double(bottom),double(opw),double(ophline));
  int my_width =(int) myrect.GetWidth();

This generates error messages of:

request for member `GetWidth' in `myrect(double, double, double, double)', 
which is
of non-aggregate type `PoDoFo::PdfRect ()(double, double, double, double)'

same code works fine on gcc4 and windows - this is a gcc 3.2 specific problem.

Regards, Ian

In message Craig Ringer <[EMAIL PROTECTED]> writes:
>Ian wrote:
>> Is anyone aware of any problems to build PoDoFo and using it in
>> applications on Linux x86 (32) with gcc 3.2.3 compiler?
>>   
>I'm not aware of any issues, no. gcc 3.x should be sane enough to handle 
>the template code PoDoFo uses, and generally behave its self. PoDoFo 
>builds under MinGW on Windows, which is based on gcc 3.x . However, I 
>don't think anybody tests with gcc 3.x on Linux, so there are no 
>guarantees (not that there are anyway) .
>
>If you do see any issues please report them.
>
>--
>Craig Ringer

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to