Re: New version of libccid: 1.4.15

Greg Troxel <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <[email protected]>
  Why do you need to cast __FUNCTION__?

  What version and name of the compiler are you using?
  What is the type of __FUNCTION__ on your compiler?

So I went and removed the patches, and:

  NetBSD 6, i386, gcc 4.5.3 compiles without warnings.

But

  OSX 10.9, i386, Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

produces many warnings (not about the patch files I sent earlier).  I've
appended the full pkgsrc build log.

=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for ccid-1.4.15.tar.bz2
=> Checksum RMD160 OK for ccid-1.4.15.tar.bz2
===> Installing dependencies for ccid-1.4.15
==========================================================================
The following variables will affect the build process of this package,
ccid-1.4.15.  Their current value is shown below:

        * VARBASE = /var

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb5
=> Tool dependency automake>=1.9: found automake-1.14
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb3
=> Tool dependency flex>=2.5.4a: found flex-2.5.36nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Tool dependency perl>=5.8.0: found perl-5.18.1nb3
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Tool dependency ccache-[0-9]*: found ccache-3.1.9
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency flex>=2.5.4a: found flex-2.5.36nb1
=> Full dependency pcsc-lite>=1.6.5: found pcsc-lite-1.8.8
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.9nb1
===> Overriding tools for ccid-1.4.15
===> Extracting for ccid-1.4.15
===> Patching for ccid-1.4.15
=> Applying pkgsrc patches for ccid-1.4.15
=> Verifying /usr/pkgsrc/security/ccid/patches/patch-ab
**************************************
Ignoring patch file /usr/pkgsrc/security/ccid/patches/patch-ab: no checksum found
**************************************
=> Verifying /usr/pkgsrc/security/ccid/patches/patch-ad
**************************************
Ignoring patch file /usr/pkgsrc/security/ccid/patches/patch-ad: no checksum found
**************************************
===> Creating toolchain wrappers for ccid-1.4.15
===> Configuring for ccid-1.4.15
cd /usr/pkgsrc/security/ccid/work/ccid-1.4.15 && /bin/sh bootstrap
+ aclocal -I m4
+ libtoolize --copy --force --automake
+ autoheader --force
+ autoconf --force
+ automake --add-missing --copy --force --foreign
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing Perl interpreter in src/convert_version.pl src/create_Info_plist.pl.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o gdt -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... i386-apple-darwin13
checking host system type... i386-apple-darwin13
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386-apple-darwin13-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for i386-apple-darwin13-ar... no
checking for i386-apple-darwin13-lib... no
checking for i386-apple-darwin13-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking pkg-config is at least version 0.9.0... yes
checking for PCSC... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ifdhandler.h usability... yes
checking ifdhandler.h presence... yes
checking for ifdhandler.h... yes
checking reader.h usability... yes
checking reader.h presence... yes
checking for reader.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-apple-darwin13 file names to i386-apple-darwin13 format... func_convert_file_noop
checking how to convert i386-apple-darwin13 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for i386-apple-darwin13-objdump... no
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for i386-apple-darwin13-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i386-apple-darwin13-ar... ar
checking for archiver @FILE support... no
checking for i386-apple-darwin13-strip... no
checking for strip... strip
checking for i386-apple-darwin13-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for i386-apple-darwin13-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for i386-apple-darwin13-dsymutil... no
checking for dsymutil... dsymutil
checking for i386-apple-darwin13-nmedit... no
checking for nmedit... nmedit
checking for i386-apple-darwin13-lipo... no
checking for lipo... lipo
checking for i386-apple-darwin13-otool... no
checking for otool... otool
checking for i386-apple-darwin13-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for select... yes
checking for strerror... yes
checking for strncpy... yes
checking for memcpy... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for LIBUSB... yes
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for libusb_init... yes
checking for -fvisibility=hidden... yes
checking for pthread_join in LIBS=-lpthread with CFLAGS= -D_REENTRANT... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking for SCardEstablishContext... yes

libccid has been configured with following options:

Version:             1.4.15
User binaries:       /usr/pkg/bin
Configuration files: /usr/pkg/etc


Host:                i386-apple-darwin13
Compiler:            gcc
Preprocessor flags:  -I/usr/pkg/include
Compiler flags:      -pipe -O2 -I/usr/pkg/include
Preprocessor flags:  -I/usr/pkg/include
Linker flags:        -L/usr/pkg/lib
Libraries:           

PCSC_CFLAGS:         -I/usr/pkg/include/PCSC 
PCSC_LIBS:           -L/usr/pkg/lib -lpcsclite 
PTHREAD_CFLAGS:      -D_THREAD_SAFE  -D_REENTRANT
PTHREAD_LIBS:        -lpthread
BUNDLE_HOST:         MacOS
DYN_LIB_EXT:         dylib
LIBUSB_CFLAGS:       -I/usr/pkg/include/libusb-1.0 
LIBUSB_LIBS:         -L/usr/pkg/lib -lusb-1.0 
SYMBOL_VISIBILITY:   -fvisibility=hidden
NOCLASS:             

libusb support:          yes
composite as multislot:  no
multi threading:         yes
bundle directory name:   ifd-ccid.bundle
USB drop directory:      /usr/pkg/lib/pcsc-lite/drivers
serial Twin support:     no
serial twin install dir: /usr/pkg/lib/pcsc-lite/drivers/serial
serial config directory: 
compiled for pcsc-lite:  yes
class driver:            yes

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating readers/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/Kobil_mIDentity_switch/Makefile
config.status: creating contrib/RSA_SecurID/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for ccid-1.4.15
/usr/pkg/bin/bmake  all-recursive
Making all in readers
Making all in examples
  CC       scardcontrol-scardcontrol.o
scardcontrol.c:257:77: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  printf("SCardEstablishContext: Cannot Connect to Resource Manager %lX\n", rv);
                                                                    ~~~     ^~
                                                                    %X
scardcontrol.c:263:126: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardListReaders" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardListReaders" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                                 ~~~                                         ^~
                                                                                 %X
scardcontrol.c:274:36: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  printf("SCardListReader: %lX\n", rv);
                           ~~~     ^~
                           %X
scardcontrol.c:330:51: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" Protocol: " "\33[32m" "%ld\n" "\33[0m", dwActiveProtocol);
                                 ~~~              ^~~~~~~~~~~~~~~~
                                 %u
scardcontrol.c:331:122: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardConnect" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardConnect" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                             ~~~                                         ^~
                                                                             %X
scardcontrol.c:356:122: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardControl" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardControl" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                             ~~~                                         ^~
                                                                             %X
scardcontrol.c:358:35: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" TLV (%ld): " "\33[32m", length);
               ~~~                ^~~~~~
               %u
scardcontrol.c:363:150: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) printf("SCardControl(CM_IOCTL_GET_FEATURE_REQUEST)" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardControl(CM_IOCTL_GET_FEATURE_REQUEST)" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                                                         ~~~                                         ^~
                                                                                                         %X
scardcontrol.c:416:141: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  if (rv != ((LONG)0x00000000)) printf("SCardControl(GET_TLV_PROPERTIES)" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardControl(GET_TLV_PROPERTIES)" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                                                ~~~                                         ^~
                                                                                                %X
scardcontrol.c:418:75: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("GET_TLV_PROPERTIES (" "\33[32m" "%ld" "\33[0m" "): " "\33[32m", length);
                                           ~~~                            ^~~~~~
                                           %u
scardcontrol.c:471:140: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  if (rv != ((LONG)0x00000000)) printf("SCardControl(MCT_READER_DIRECT)" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardControl(MCT_READER_DIRECT)" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                                               ~~~                                         ^~
                                                                                               %X
scardcontrol.c:473:39: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("MCT_READER_DIRECT (%ld): ", length);
                             ~~~      ^~~~~~
                             %u
scardcontrol.c:485:143: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  if (rv != ((LONG)0x00000000)) printf("SCardControl(pin_properties_ioctl)" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardControl(pin_properties_ioctl)" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                                                  ~~~                                         ^~
                                                                                                  %X
scardcontrol.c:487:71: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("PIN PROPERTIES (" "\33[32m" "%ld" "\33[0m" "): " "\33[32m", length);
                                       ~~~                            ^~~~~~
                                       %u
scardcontrol.c:535:55: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" Reader: %s (length %ld bytes)\n", pbReader, dwReaderLen);
                             ~~~                      ^~~~~~~~~~~
                             %u
scardcontrol.c:536:30: warning: format specifies type 'unsigned long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" State: 0x%04lX\n", dwState);
                   ~~~~~     ^~~~~~~
                   %04X
scardcontrol.c:537:25: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" Prot: %ld\n", dwProt);
                ~~~     ^~~~~~
                %u
scardcontrol.c:538:37: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" ATR (length %ld bytes):", dwAtrLen);
                      ~~~           ^~~~~~~~
                      %u
scardcontrol.c:542:119: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) printf("SCardStatus" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardStatus" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                          ~~~                                         ^~
                                                                          %X
scardcontrol.c:555:29: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
 printf(" Protocol: %ld\n", dwActiveProtocol);
                    ~~~     ^~~~~~~~~~~~~~~~
                    %u
scardcontrol.c:556:124: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardReconnect" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardReconnect" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                               ~~~                                         ^~
                                                                               %X
scardcontrol.c:586:123: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardTransmit" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                              ~~~                                         ^~
                                                                              %X
scardcontrol.c:673:120: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) printf("SCardControl" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardControl" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                           ~~~                                         ^~
                                                                           %X
scardcontrol.c:690:123: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardTransmit" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                              ~~~                                         ^~
                                                                              %X
scardcontrol.c:709:124: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": " "\33[31m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); goto end; } else printf("SCardTransmit" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                               ~~~                                         ^~
                                                                               %X
scardcontrol.c:863:123: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) printf("SCardDisconnect" ": " "\33[34m" "%s (0x%lX)\n" "\33[0m", pcsc_stringify_error(rv), rv); else printf("SCardDisconnect" ": " "\33[34m" "OK\n\n" "\33[0m");
                                                                              ~~~                                         ^~
                                                                              %X
scardcontrol.c:870:4: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
   rv);
   ^~
27 warnings generated.
  CC       scardcontrol-PCSCv2part10.o
  CCLD     scardcontrol
Making all in contrib
Making all in Kobil_mIDentity_switch
  CC       Kobil_mIDentity_switch-Kobil_mIDentity_switch.o
  CCLD     Kobil_mIDentity_switch
Making all in RSA_SecurID
  CC       RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
RSA_SecurID_getpasswd.c:54:77: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
  printf("SCardEstablishContext: Cannot Connect to Resource Manager %lX\n", rv);
                                                                    ~~~     ^~
                                                                    %X
RSA_SecurID_getpasswd.c:60:103: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardListReader" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; };
                                                                   ~~~                                ^~
                                                                   %X
RSA_SecurID_getpasswd.c:76:103: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardListReader" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; };
                                                                   ~~~                                ^~
                                                                   %X
RSA_SecurID_getpasswd.c:82:100: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardConnect" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; }
                                                                ~~~                                ^~
                                                                %X
RSA_SecurID_getpasswd.c:101:101: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; }
                                                                 ~~~                                ^~
                                                                 %X
RSA_SecurID_getpasswd.c:104:43: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("cmd1 failed (%ld): %02X%02X\n", length, bRecvBuffer[length-2],
                       ~~~                ^~~~~~
                       %u
RSA_SecurID_getpasswd.c:113:101: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; }
                                                                 ~~~                                ^~
                                                                 %X
RSA_SecurID_getpasswd.c:116:44: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("cmd2 failed (%ld) : %02X%02X\n", length, bRecvBuffer[length-2],
                       ~~~                 ^~~~~~
                       %u
RSA_SecurID_getpasswd.c:128:101: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; }
                                                                 ~~~                                ^~
                                                                 %X
RSA_SecurID_getpasswd.c:131:43: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("cmd3 failed (%ld): %02X%02X\n", length, bRecvBuffer[length-2],
                       ~~~                ^~~~~~
                       %u
RSA_SecurID_getpasswd.c:140:101: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
 if (rv != ((LONG)0x00000000)) { printf("SCardTransmit" ": %s (0x%lX)\n", pcsc_stringify_error(rv), rv); goto end; }
                                                                 ~~~                                ^~
                                                                 %X
RSA_SecurID_getpasswd.c:143:43: warning: format specifies type 'long' but the argument has type 'DWORD' (aka 'unsigned int') [-Wformat]
  printf("cmd4 failed (%ld): %02X%02X\n", length, bRecvBuffer[length-2],
                       ~~~                ^~~~~~
                       %u
RSA_SecurID_getpasswd.c:155:13: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat]
            rv);
            ^~
13 warnings generated.
  CCLD     RSA_SecurID_getpasswd
Making all in src
  CC       parse-ccid_usb.o
  CC       parse-strlcpy.o
  CC       parse-simclist.o
  CC       libccid_la-ccid.lo
ccid.c:218:138: warning: format specifies type 'int' but the argument has type 'RESPONSECODE' (aka 'long') [-Wformat]
   if (LogLevel & 2) log_msg(PCSC_LOG_INFO, "%s:%d:%s() " "GET_FIRMWARE_FEATURES failed: " "%d" ", len=%d", "ccid.c", 219, __FUNCTION__, ret, len_features);
                                                                                            ~~                                           ^~~
                                                                                            %ld
1 warning generated.
  CC       libccid_la-commands.lo
  CC       libccid_la-ifdhandler.lo
  CC       libccid_la-utils.lo
  CC       libccid_la-ccid_usb.lo
  CC       libccid_la-strlcpy.lo
  CC       libccid_la-simclist.lo
  CC       towitoko/libccid_la-atr.lo
  CC       towitoko/libccid_la-pps.lo
  CC       openct/libccid_la-buffer.lo
  CC       openct/libccid_la-checksum.lo
  CC       openct/libccid_la-proto-t1.lo
  CC       parse-parse.o
  CC       parse-debug.o
  CC       libccid_la-tokenparser.lo
  CC       parse-tokenparser.o
  CCLD     libccid.la
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libccid.a(libccid_la-strlcpy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libccid.a(libccid_la-strlcpy.o) has no symbols
  CCLD     parse
*** Please use pkgtools/verifypc to sanity check dependencies.
=> Unwrapping files-to-be-installed.

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
signature.asc (application/pgp-signature, 180 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlMM5rIACgkQ+vesoDJhHiURbwCfU/LOvRopwJF6Nq8764ui+RQJ
qnYAn2mrmttQ+y6gtlw+fIgmNZTXWvEo
=yFMN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.