guile / unistr int8 types solaris 9

Riccardo Mottola rmottola at opencsw.org
Fri Oct 16 18:22:14 CEST 2015


Hi,

does someone have a clue on how to fix this? and if the fix can actually 
be done in guile itself.
I hoped that a new and rebuilt version of unistr would help, but it jsut 
shifted the problem of 1 line.

In file included from ../lib/stdint.h:78:0,
                  from ../libguile/scmconfig.h:24,
                  from ../libguile/__scm.h:54,
                  from ../libguile/_scm.h:68,
                  from chars.c:31:
/opt/csw/lib/gcc/sparc-sun-solaris2.9/4.6.4/include/stdint.h:34:23: 
error: conflicting types for 'unistring_int8_t'
/opt/csw/include/unistring/stdint.h:106:21: note: previous declaration 
of 'unistring_int8_t' was here


What I do not understand is how a "gcc" header stdint.h can conflict 
with something in another library... when this has a private name, that 
is unistring_int8_t? In gcc it has the "standard" name:
  line 34 is in fact:

typedef __INT8_TYPE__ int8_t;


Riccardo



More information about the maintainers mailing list