#12 Some warning fixes

closed-fixed
nobody
None
5
2009-12-08
2008-06-02
Jens Seidel
No

Hi,

compiling libharu on Linux using strongest compiler
options such as -Wall -Wextra -pedantic results in really many warnings and even a single error.

I use gcc version 4.1.2.

Please note that there are still many warnings similar to:

src/hpdf_encrypt.c:318: warning: pointer targets in passing argument 2 of ‘HPDF_MemCpy’ differ in signedness

These can be turned of with -Wno-pointer-sign but a proper fix would be nice too.

Jens

Discussion

  • Jens Seidel
    Jens Seidel
    2008-06-02

    warnings patch

     
    Attachments
  • Jens Seidel
    Jens Seidel
    2008-06-02

    Logged In: YES
    user_id=187131
    Originator: YES

    File Added: libharu.diff

     
  • Jens Seidel
    Jens Seidel
    2008-06-02

    warnings patch

     
    Attachments
  • Antony Dovgal
    Antony Dovgal
    2009-12-08

    • status: open --> closed-fixed