-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: mingw
-
None
C:/Rtools/mingw_32/bin/gcc -I"c:/R/include" -DNDEBUG -I../windows/openssl-1.0.2h/include -I../windows/libsasl-2.1.26/include -I. -Iyajl -Ibson -Imongoc -DLIBSASL_EXPORTS -DBSON_COMPILATION -DMONGOC_COMPILATION -DMONGOC_HAVE_SASL_CLIENT_DONE -D__USE_MINGW_ANSI_STDIO -I"d:/Compiler/gcc-4.9.3/local330/include" -Wno-unused-value -Wno-implicit-function-declaration -O3 -Wall -std=gnu99 -mtune=core2 -c bson/bson-iso8601.c -o bson/bson-iso8601.o bson/bson-iso8601.c: In function '_bson_iso8601_date_parse': bson/bson-iso8601.c:227:20: warning: 'sec_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (sec_len && !parse_num (sec_ptr, sec_len, 2, 0, 60, &sec)) { ^ bson/bson-iso8601.c:273:31: warning: 'millis_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] millis += (millis_ptr[millis_len - i] - '0') * magnitude; ^
- is related to
-
CDRIVER-702 Warnings due to GCC extensions (-wpedantic)
- Closed