Zero size arrays
adamlove86 opened this issue · 1 comments
adamlove86 commented
Hi there, trying to make on my Mac, running MacPorts-2.3.5-10.12-Sierra, and FUSE for Mac 3.5.4. If there's any other info I can send you, please let me know!
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
CXX simple_mtpfs-simple-mtpfs-fuse.o
CXX simple_mtpfs-simple-mtpfs-libmtp.o
CXX simple_mtpfs-simple-mtpfs-log.o
CXX simple_mtpfs-simple-mtpfs-main.o
CXX simple_mtpfs-simple-mtpfs-mtp-device.o
../../src/simple-mtpfs-mtp-device.cpp:28:11: warning: '_DARWIN_USE_64_BIT_INODE' macro redefined [-Wmacro-redefined]
# define _DARWIN_USE_64_BIT_INODE
^
<command line>:4:9: note: previous definition is here
#define _DARWIN_USE_64_BIT_INODE 1
^
1 warning generated.
CXX simple_mtpfs-simple-mtpfs-sha1.o
CXX simple_mtpfs-simple-mtpfs-tmp-files-pool.o
CXX simple_mtpfs-simple-mtpfs-type-dir.o
CXX simple_mtpfs-simple-mtpfs-type-file.o
CXX simple_mtpfs-simple-mtpfs-type-tmp-file.o
CXX simple_mtpfs-simple-mtpfs-util.o
In file included from ../../src/simple-mtpfs-util.cpp:38:
/usr/local/Cellar/libusb/1.0.21/include/libusb-1.0/libusb.h:736:3: warning: zero size arrays are an extension
[-Wzero-length-array]
[0] /* non-standard, but usually working code */
^
/usr/local/Cellar/libusb/1.0.21/include/libusb-1.0/libusb.h:767:3: warning: zero size arrays are an extension
[-Wzero-length-array]
[0] /* non-standard, but usually working code */
^
/usr/local/Cellar/libusb/1.0.21/include/libusb-1.0/libusb.h:1263:3: warning: zero size arrays are an extension
[-Wzero-length-array]
[0] /* non-standard, but usually working code */
^
3 warnings generated.
CXXLD simple-mtpfs
clang: warning: argument unused during compilation: '-pthread'
Making all in man
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Thanks for your help!
adamlove86 commented
Hi there, I got mtp to work through this repo
pranav-prakash/jmtpfs#2