[Bug c++/79741] errors about struct members being of type size_t when it's not, other strange errors. cached source too.

jmichae3 at yahoo dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 28 20:37:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79741

--- Comment #4 from Jim Michaels <jmichae3 at yahoo dot com> ---
(In reply to Andrew Pinski from comment #2)
> And the exact options you are using?

g++ -std=c++11 -lstdc++ -o atoi64.o atoi64.cpp  2>atoi64.err.txt

also tried c++14.
 Tue 02/28/2017 11:44:25.43 l:\projects\lib\atoi64>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/program\
files/mingw-w64/i686-6.2.0-win32-sjlj-rt_v5-rev1/mingw32/bin/../libexec/gcc/i686-w64-mingw32/6.2.0/lto-
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-6.2.0/configure --host=i686-w64-mingw32
--build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/
=yes --enable-threads=win32 --enable-libgomp --enable-libatomic --enable-lto
--enable-graphite --enable-checking=release --enable-fully
ootstrap --disable-rpath --disable-win32-registry --disable-nls
--disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-a
isites/i686-w64-mingw32-static
--with-mpc=/c/mingw620/prerequisites/i686-w64-mingw32-static
--with-isl=/c/mingw620/prerequisites/i686-w
/mingw32/opt/include -I/c/mingw620/prerequisites/i686-zlib-static/include
-I/c/mingw620/prerequisites/i686-w64-mingw32-static/include'
GS= LDFLAGS='-pipe -L/c/mingw620/i686-620-win32-sjlj-rt_v5-rev1/mingw32/opt/lib
-L/c/mingw620/prerequisites/i686-zlib-static/lib -L/c/m
Thread model: win32
gcc version 6.2.0 (i686-win32-sjlj-rev1, Built by MinGW-W64 project)

 Tue 02/28/2017 12:30:43.42 l:\projects\lib\atoi64>



another of the problems seems to be files over a certain size (complexity?)
causing strange errors, where unit tests work fine, but the larger programs
cannot be reduced to a smaller set for a unit test.

maybe I should complain about the ld file cache. it is causing problems too.
example:

C:\DOCUME~1\Barb\LOCALS~1\Temp\cc2hmuhd.o:find.cpp:(.text+0x837): undefined
reference to `compare_bool(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator
<char> >, bool, unsigned int)'
collect2.exe: error: ld returned 1 exit status

this is not what's in the source file for a list of function arguments, this is
really old. an exe was generated anyway, but doesn't do anything.


More information about the Gcc-bugs mailing list