MyMacMini:build xiaofanc$ gcc -v
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../src/flash/nor
-I../../.. -I../../../../src -I../../../src -I../../../../src/helper
-DPKGDATADIR=\"/usr/local/Cellar/open-ocd/HEAD/share/openocd\"
-DBINDIR=\"/usr/local/Cellar/open-ocd/HEAD/bin\" -I../../../../jimtcl
-I../../../jimtcl -g -O2 -Wall -Wstrict-prototypes -Wformat-security
-Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast
-Wcast-align -Wredundant-decls -Werror -MT psoc4.lo -MD -MP -MF
.deps/psoc4.Tpo -c ../../../../src/flash/nor/psoc4.c -o psoc4.o
../../../../src/flash/nor/psoc4.c:721:20: error: format specifies type
      'unsigned short' but the argument has type 'unsigned int'
      [-Werror,-Wformat]
                                details->type, psoc4_info->silicon_id
& 0xffff, details->package);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
1 error generated.
make[5]: [psoc4.lo] Error 1 (ignored)



-- 
Xiaofan

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to