1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/palm/palm-db-tools
Jan Beich 2e4fb02fad palm/palm-db-tools: unbreak with libc++ 3.9
DB.cpp:224:31: error: reinterpret_cast from 'const void *' to 'pi_char_t *' (aka 'unsigned char *')
      casts away qualifiers
        pi_char_t* null_ptr = reinterpret_cast<pi_char_t*>
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
JFile3.cpp:470:20: error: reinterpret_cast from 'const void *' to 'pi_char_t *'
      (aka 'unsigned char *') casts away qualifiers
        null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 21));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JFile3.cpp:521:16: error: reinterpret_cast from 'const void *' to 'pi_char_t *'
      (aka 'unsigned char *') casts away qualifiers
    null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 16));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JFile3.cpp:529:16: error: reinterpret_cast from 'const void *' to 'pi_char_t *'
      (aka 'unsigned char *') casts away qualifiers
    null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 16));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JFile3.cpp:545:16: error: reinterpret_cast from 'const void *' to 'pi_char_t *'
      (aka 'unsigned char *') casts away qualifiers
    null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 12));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MobileDB.cpp:224:24: error: reinterpret_cast from 'const void *' to 'pi_char_t *'
      (aka 'unsigned char *') casts away qualifiers
        pi_char_t* q = reinterpret_cast<pi_char_t*>
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	pkg-fallout
2017-02-01 20:21:20 +00:00
..
files palm/palm-db-tools: unbreak with libc++ 3.9 2017-02-01 20:21:20 +00:00
distinfo
Makefile
pkg-descr