C:>g++ -W -Wall -Ofast -std=c++11 -llibstdc++ -o 32\egrepsed.exe egrepsed
cpp ..\..\..\lib\strfuncs\strfuncs.cpp  2>egrepsed.err.txt
C:>if exist 32\egrepsed.exe copy 32\egrepsed.exe \u\ /y
        1 file(s) copied.

C:>type egrepsed.err.txt
In file included from egrepsed.cpp:56:0:
../../../lib/strfuncs/strfuncs.h:190:97: error: explicit qualification in 
declaration of 'size_t str::find(S&, S&, bool, size_t)'
     template<class S> size_t str::find(S& searchIn, S& searchFor, bool 
iCase=false, size_t pos=0);
                                                                                
                 ^
../../../lib/strfuncs/strfuncs.h:242:14: error: 'S' has not been declared
     template<S> bool VSOSUniqueCompare(S& first, S& second,iCase=false);
              ^C:\Users\Kristina\desktop\prj\lib\strfuncs\strfuncs.cpp: In 
function 'int str::osstrcmp(S&, S&, size_t)':
C:\Users\Kristina\desktop\prj\lib\strfuncs\strfuncs.cpp:183:42: error: expected 
primary-expression before '<' token
         return ((caseInsensitiveOS && 
0==<S>str::compare(first,second,true,firstPos))
                                          ^
C:\Users\Kristina\desktop\prj\lib\strfuncs\strfuncs.cpp:183:44: error: expected 
primary-expression before '>' token
         return ((caseInsensitiveOS && 
0==<S>str::compare(first,second,true,firstPos))
                                            ^ 

these are templates and properly applied.

In file included from ../../../lib/atoi64/atoi64.hpp:94:0,
                 from disk-refresh.cpp:44:
../../../lib/atoi64/../strfuncs/strfuncs.h:190:97: error: explicit 
qualification in declaration of 'size_t str::find(S&, S&, bool, size_t)'
     template<class S> size_t str::find(S& searchIn, S& searchFor, bool 
iCase=false, size_t pos=0);
                                                                                
                 ^this is in a namespace str. I had to do that because 
otherwise #include <algorithm>'s std::find() would throw errors about a name 
clash. this solution throws an error too. so I am stuck with no working 
compiler. got one somewhere?

-------------
 Jim Michaels<[email protected]> http://www.JesusnJim.com (computer repair 
info, programming)
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to