Bug 222672 - graphics/cuneiform fails on 10.3 (pointer to int converstion)
Summary: graphics/cuneiform fails on 10.3 (pointer to int converstion)
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-29 02:45 UTC by Walter Schwarzenfeld
Modified: 2018-01-05 00:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (samm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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]