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

Re: Help with libgit2 needed to strip code copy from r-cran-git2r

Andreas Tille <andreas@an3as.eu> writes:

> Hi,

Hi, Andreas.

> gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/git2  -DGIT_ARCH_64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DGIT_OPENSSL -DLIBGIT2_NO_FEATURES_H -DGIT_SHA1_OPENSSL -     DGIT_SSH -DGIT_CURL -DGIT_USE_STAT_MTIM -DGIT_USE_NSEC -DHAVE_FUTIMENS -DHAVE_QSORT_R      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-3.4.3=. -fstack-protector-strong -Wformat -     Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c git2r.c -o git2r.o

Please try leaving off -I/usr/include/git2 to avoid this unwanted
shadowing.  (git2.h includes the other headers as "git2/*.h", so you
shouldn't need that flag.)

Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu

Reply to: