Bug 222672

Summary: graphics/cuneiform fails on 10.3 (pointer to int converstion)
Product: Ports & Packages Reporter: Walter Schwarzenfeld <w.schwarzenfeld>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: samm
Priority: --- Flags: bugzilla: maintainer-feedback? (samm)
Version: Latest   
Hardware: Any   
OS: Any   

Description Walter Schwarzenfeld 2017-09-29 02:45:46 UTC

    
Comment 1 Walter Schwarzenfeld 2017-09-29 02:47:00 UTC
Cuneiform fails to compile on 10.3 with:

/ram/usr/ports/graphics/cuneiform/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/rdib/sources/cpp/CTDIB.cpp:541:16: error: cannot convert 'std::nullptr_t' to 'Bool32 {aka int}' in return
  CTDIB_IFNODIB(NULL);
                ^
/ram/usr/ports/graphics/cuneiform/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/hhh/ctdib.h:219:76: note: in definition of macro 'CTDIB_IFNODIB'
  #define CTDIB_IFNODIB(a)                  if ( !IsDIBAvailable() ) return a;
                                                                            ^
/ram/usr/ports/graphics/cuneiform/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/rdib/sources/cpp/CTDIB.cpp: In member function 'Bool32 CTDIB::IsExternalsSets()':
/ram/usr/ports/graphics/cuneiform/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/rdib/sources/cpp/CTDIB.cpp:640:4: error: invalid operands of types 'bool' and 'std::nullptr_t' to binary 'operator!='
    != NULL;
Comment 2 Walter Schwarzenfeld 2017-09-29 03:14:50 UTC
later a lot of errors like this:

/usr/ports/graphics/cuneiform/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/include/utf8-tables.h:1367:1: error: narrowing conversion of '190' from 'int' to 'char' inside { } [-Wnarrowing]