Opened 11 years ago
Closed 11 years ago
#3209 closed defect (invalid)
Build error with MSVC 2012
Reported by: | persanker | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
make
Error output:
D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(34) : error C2371: 'int_fast16_t' : redefinition; different basic types d:\projects\vcos\libraries\msinttypes-r26\stdint.h(105) : see declaration of 'int_fast16_t' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(38) : error C2371: 'uint_fast16_t' : redefinition; different basic types d:\projects\vcos\libraries\msinttypes-r26\stdint.h(109) : see declaration of 'uint_fast16_t'
Change History (6)
comment:1 by , 11 years ago
Priority: | critical → normal |
---|
follow-up: 4 comment:2 by , 11 years ago
You seem to have stdint.h twice. The original from Microsoft, and one in "d:\projects\vcos\libraries\msinttypes-r26\"
This is nothing that comes with ffmpeg, you should clean up your local build environment.
comment:3 by , 11 years ago
My configure line is:
./configure --toolchain=msvc --disable-yasm
The second run of make V=1
is:(a little long)
c99wrap cl -nologo -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE _SOURCE -Dstrtod=avpriv_strtod -Dsnprintf=avpriv_snprintf -D_snprintf=avpriv_snp rintf -Dvsnprintf=avpriv_vsnprintf -D_WIN32_WINNT=0x0502 -DHAVE_AV_CONFIG_H -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv _strtod -Dsnprintf=avpriv_snprintf -D_snprintf=avpriv_snprintf -Dvsnprintf=avpri v_vsnprintf -D_WIN32_WINNT=0x0502 -DHAVE_AV_CONFIG_H -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -Z7 -W4 -wd4244 -wd4127 -wd4018 -wd4389 -wd4146 -wd4057 -wd4204 -wd4706 -wd4305 -wd4152 -wd4324 -we4013 -wd4100 -wd4214 -wd4554 -wd4273 -O2 -Oy- -showInclude s -Zs libavdevice/alldevices.c 2>&1 | awk '/including/ { sub(/^.*file: */, ""); gsub(/\\/, "/"); if (!match($0, / /)) print "libavdevice/alldevices.o:", $0 }' > libavdevice/alldevices.d c99wrap cl -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -Dsnprintf=avpriv_snprintf -D_snprintf=avpriv_snprintf -D vsnprintf=avpriv_vsnprintf -D_WIN32_WINNT=0x0502 -DHAVE_AV_CONFIG_H -nologo -D_U SE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtol l=_strtoi64 -Z7 -W4 -wd4244 -wd4127 -wd4018 -wd4389 -wd4146 -wd4057 -wd4204 - wd4706 -wd4305 -wd4152 -wd4324 -we4013 -wd4100 -wd4214 -wd4554 -wd4273 -O2 -Oy - -c -Folibavdevice/alldevices.o libavdevice/alldevices.c alldevices.c D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(72) : wa rning C4005: 'INT8_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(132) : see previous d efinition of 'INT8_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(73) : wa rning C4005: 'INT16_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(134) : see previous d efinition of 'INT16_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(74) : wa rning C4005: 'INT32_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(136) : see previous d efinition of 'INT32_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(76) : wa rning C4005: 'INT8_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(133) : see previous d efinition of 'INT8_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(77) : wa rning C4005: 'INT16_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(135) : see previous d efinition of 'INT16_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(78) : wa rning C4005: 'INT32_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(137) : see previous d efinition of 'INT32_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(79) : wa rning C4005: 'UINT8_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(140) : see previous d efinition of 'UINT8_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(80) : wa rning C4005: 'UINT16_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(141) : see previous d efinition of 'UINT16_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(81) : wa rning C4005: 'UINT32_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(142) : see previous d efinition of 'UINT32_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(83) : wa rning C4005: 'INT_LEAST8_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(146) : see previous d efinition of 'INT_LEAST8_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(84) : wa rning C4005: 'INT_LEAST16_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(148) : see previous d efinition of 'INT_LEAST16_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(85) : wa rning C4005: 'INT_LEAST32_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(150) : see previous d efinition of 'INT_LEAST32_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(87) : wa rning C4005: 'INT_LEAST8_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(147) : see previous d efinition of 'INT_LEAST8_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(88) : wa rning C4005: 'INT_LEAST16_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(149) : see previous d efinition of 'INT_LEAST16_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(89) : wa rning C4005: 'INT_LEAST32_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(151) : see previous d efinition of 'INT_LEAST32_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(90) : wa rning C4005: 'UINT_LEAST8_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(154) : see previous d efinition of 'UINT_LEAST8_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(91) : wa rning C4005: 'UINT_LEAST16_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(155) : see previous d efinition of 'UINT_LEAST16_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(92) : wa rning C4005: 'UINT_LEAST32_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(156) : see previous d efinition of 'UINT_LEAST32_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(94) : wa rning C4005: 'INT_FAST8_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(160) : see previous d efinition of 'INT_FAST8_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(95) : wa rning C4005: 'INT_FAST16_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(162) : see previous d efinition of 'INT_FAST16_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(96) : wa rning C4005: 'INT_FAST32_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(164) : see previous d efinition of 'INT_FAST32_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(98) : wa rning C4005: 'INT_FAST8_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(161) : see previous d efinition of 'INT_FAST8_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(99) : wa rning C4005: 'INT_FAST16_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(163) : see previous d efinition of 'INT_FAST16_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(100) : w arning C4005: 'INT_FAST32_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(165) : see previous d efinition of 'INT_FAST32_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(101) : w arning C4005: 'UINT_FAST8_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(168) : see previous d efinition of 'UINT_FAST8_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(102) : w arning C4005: 'UINT_FAST16_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(169) : see previous d efinition of 'UINT_FAST16_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(103) : w arning C4005: 'UINT_FAST32_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(170) : see previous d efinition of 'UINT_FAST32_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(106) : w arning C4005: 'INTPTR_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(180) : see previous d efinition of 'INTPTR_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(107) : w arning C4005: 'INTPTR_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(179) : see previous d efinition of 'INTPTR_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(108) : w arning C4005: 'UINTPTR_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(181) : see previous d efinition of 'UINTPTR_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(116) : w arning C4005: 'INT8_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(230) : see previous d efinition of 'INT8_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(117) : w arning C4005: 'INT16_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(231) : see previous d efinition of 'INT16_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(118) : w arning C4005: 'INT32_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(232) : see previous d efinition of 'INT32_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(120) : w arning C4005: 'UINT8_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(235) : see previous d efinition of 'UINT8_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(121) : w arning C4005: 'UINT16_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(236) : see previous d efinition of 'UINT16_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(122) : w arning C4005: 'UINT32_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(237) : see previous d efinition of 'UINT32_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(128) : w arning C4005: 'PTRDIFF_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(195) : see previous d efinition of 'PTRDIFF_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(129) : w arning C4005: 'PTRDIFF_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(196) : see previous d efinition of 'PTRDIFF_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(132) : w arning C4005: 'SIG_ATOMIC_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(199) : see previous d efinition of 'SIG_ATOMIC_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(133) : w arning C4005: 'SIG_ATOMIC_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(200) : see previous d efinition of 'SIG_ATOMIC_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(146) : w arning C4005: 'WINT_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(218) : see previous d efinition of 'WINT_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(147) : w arning C4005: 'WINT_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(219) : see previous d efinition of 'WINT_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(149) : w arning C4005: 'INT64_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(138) : see previous d efinition of 'INT64_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(150) : w arning C4005: 'INT64_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(139) : see previous d efinition of 'INT64_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(151) : w arning C4005: 'UINT64_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(143) : see previous d efinition of 'UINT64_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(153) : w arning C4005: 'INT_LEAST64_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(152) : see previous d efinition of 'INT_LEAST64_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(154) : w arning C4005: 'INT_LEAST64_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(153) : see previous d efinition of 'INT_LEAST64_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(155) : w arning C4005: 'UINT_LEAST64_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(157) : see previous d efinition of 'UINT_LEAST64_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(157) : w arning C4005: 'INT_FAST64_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(166) : see previous d efinition of 'INT_FAST64_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(158) : w arning C4005: 'INT_FAST64_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(167) : see previous d efinition of 'INT_FAST64_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(159) : w arning C4005: 'UINT_FAST64_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(171) : see previous d efinition of 'UINT_FAST64_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(161) : w arning C4005: 'INTMAX_MIN' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(185) : see previous d efinition of 'INTMAX_MIN' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(162) : w arning C4005: 'INTMAX_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(186) : see previous d efinition of 'INTMAX_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(163) : w arning C4005: 'UINTMAX_MAX' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(187) : see previous d efinition of 'UINTMAX_MAX' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(165) : w arning C4005: 'INT64_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(233) : see previous d efinition of 'INT64_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(166) : w arning C4005: 'UINT64_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(238) : see previous d efinition of 'UINT64_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(167) : w arning C4005: 'INTMAX_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(241) : see previous d efinition of 'INTMAX_C' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(168) : w arning C4005: 'UINTMAX_C' : macro redefinition d:\projects\vcos\libraries\msinttypes-r26\stdint.h(242) : see previous d efinition of 'UINTMAX_C' libavdevice/alldevices.o_preprocessed.c:18:9: warning: #pragma once in main file libavdevice/alldevices.o_preprocessed.c:94:9: warning: #pragma once in main file libavdevice/alldevices.o_preprocessed.c:252:9: warning: #pragma once in main fil e libavdevice/alldevices.o_preprocessed.c:2408:9: warning: #pragma once in main fi le libavdevice/alldevices.o_preprocessed.c:4537:9: warning: #pragma once in main fi le libavdevice/alldevices.o_preprocessed.c:7265:36: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7265:16: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7266:33: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7266:33: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7267:36: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7267:16: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7269:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7269:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7271:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7271:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7272:33: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7272:33: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7273:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7273:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7274:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7274:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7276:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7276:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7278:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7278:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7280:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7280:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7282:35: warning: __declspec attribute ' restrict' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:7282:15: warning: __declspec attribute ' noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:9613:9: warning: #pragma once in main fi le libavdevice/alldevices.o_preprocessed.c:11817:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:11860:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:11890:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:14691:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:15207:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:18509:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:18515:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:20924:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:21504:14: error: typedef redefinition wi th different types ('char' vs 'int8_t' (aka 'signed char')) libavdevice/alldevices.o_preprocessed.c:15414:19: note: previous definition is h ere libavdevice/alldevices.o_preprocessed.c:21505:13: error: typedef redefinition wi th different types ('int' vs 'int16_t' (aka 'short')) libavdevice/alldevices.o_preprocessed.c:15415:19: note: previous definition is h ere libavdevice/alldevices.o_preprocessed.c:21509:22: error: typedef redefinition wi th different types ('unsigned int' vs 'uint16_t' (aka 'unsigned short')) libavdevice/alldevices.o_preprocessed.c:15419:19: note: previous definition is h ere libavdevice/alldevices.o_preprocessed.c:21687:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:24469:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:31945:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:40495:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:42557:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:44859:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:44885:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:44912:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:44939:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:44959:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:44987:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:45020:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:45060:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:47144:26: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:47321:26: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:47350:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:49602:12: warning: __declspec attribute 'noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:49602:12: warning: __declspec attribute 'noalias' is not supported [-Wignored-attributes] libavdevice/alldevices.o_preprocessed.c:50078:26: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:50089:27: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:51043:26: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:51047:27: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:51051:27: warning: unknown __declspec at tribute 'intrin_type' ignored [-Wattributes] libavdevice/alldevices.o_preprocessed.c:52175:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:52439:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:64367:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:66219:9: warning: #pragma once in main f ile libavdevice/alldevices.o_preprocessed.c:68509:9: warning: #pragma once in main f ile alldevices.o_converted.c D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(34) : er ror C2371: 'int_fast16_t' : redefinition; different basic types d:\projects\vcos\libraries\msinttypes-r26\stdint.h(105) : see declaratio n of 'int_fast16_t' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(38) : er ror C2371: 'uint_fast16_t' : redefinition; different basic types d:\projects\vcos\libraries\msinttypes-r26\stdint.h(109) : see declaratio n of 'uint_fast16_t' make: *** [libavdevice/alldevices.o] Error 1
comment:4 by , 11 years ago
Replying to heleppkes:
You seem to have stdint.h twice. The original from Microsoft, and one in "d:\projects\vcos\libraries\msinttypes-r26\"
This is nothing that comes with ffmpeg, you should clean up your local build environment.
Thanks, but the msinttypes project is in an inactive status and I found an issue posted at Mar 11, 2010, which reporting the same problem I think.
http://code.google.com/p/msinttypes/issues/detail?id=6
comment:5 by , 11 years ago
Solved, Thanks to you all.
I upgraded my msinttypes to r29, and the problem goes away.
Please close this, thanks.
comment:6 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please add your configure line, run
make V=1
twice, post the complete console output of the second run here.