[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rsubread uncovers "conflicting types for 'uintptr_t'"



Hi,

looking at

   https://salsa.debian.org/r-pkg-team/r-bioc-rsubread/-/jobs/1902211

the build on i386 fails with

gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -DMAKE_FOR_EXON -D SUBREAD_VERSION="\"Rsubread 2.6.4\""  -fpic  -g -O2 -ffile-prefix-map=/build/r-base-If8kpN/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c R_wrapper.c -o R_wrapper.o
In file included from /usr/lib/gcc/i686-linux-gnu/10/include/stdint.h:9,
                 from HelperFunctions.h:172,
                 from R_wrapper.c:35:
/usr/include/stdint.h:96:23: error: conflicting types for 'uintptr_t'
   96 | typedef unsigned int  uintptr_t;
      |                       ^~~~~~~~~
In file included from R_wrapper.c:30:
/usr/share/R/include/Rinterface.h:110:24: note: previous declaration of 'uintptr_t' was here
  110 |  typedef unsigned long uintptr_t;
      |                        ^~~~~~~~~
make[1]: *** [/usr/lib/R/etc/Makeconf:168: R_wrapper.o] Error 1


I'm not very keen on getting this package on i386 working since my guess
is that this is not really relevant in practice.  However, these
declarations are independ from the actual rsubread package and I'm
simply wondering whether these conflicting types might create issues
otherwise as well.

Kind regards

     Andreas.

-- 
http://fam-tille.de


Reply to: