c:\jim\tree>g++ -std=c++11 -W -Wall -otree2.o tree2.cpp  2>tree2.err.txt
c:\jim\tree>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure 
--prefix=/home/cauchy/native/gcc-5-win32 
--with-sysroot=/home/cauchy/native/gcc-5
-win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 
--target=i686-w64-mingw32 --disable-multilib --disable-nls 
--disable-win32-registry --disab
le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran 
--enable-fully-dynamic-string --with-arch=core2 --with-tune=generic
Thread model: win32
gcc version 5.3.1 20160318 (GCC)

c:\jim\tree>





tree2.cpp:121:19: error: 'std::tree<_T>& 
std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' 
cannot be overloaded
         tree<_T>& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by 
iterator - no recursion needed
                   ^
tree2.cpp:100:24: error: with 'std::tree<_T>::VTREE_LEAVESI& 
std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)'
         VTREE_LEAVESI& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) 
{//by iterator - no recursion needed
                        ^
tree2.cpp: In member function 'std::tree<_T>::VTREE_LEAVESI& 
std::tree<_T>::linearAddress(std::tree<_T>::VTREE_LEAVEST&)':
tree2.cpp:203:47: error: 'indices' was not declared in this scope
             } else if (0!=leaves.size() && 0==indices.size()) {
                                               ^
tree2.cpp: At global scope:
tree2.cpp:248:12: error: expected initializer before 'operator'
         _T operator[](VTREE_LEAVEST& index) {
            ^
tree2.cpp:274:15: error: expected constructor, destructor, or type conversion 
before '(' token
         insert(VTREE_LEAVESI& iInsertionPoint, S_TREE_LEAVES& iTreeNode) {
               ^
tree2.cpp:279:20: error: variable or field 'erase' declared void
         void erase(VTREE_LEAVESI& iTreeNodeFrom, VTREE_LEAVESI& 
iTreeNodeToNotIncluding) {
                    ^
 -------------
 Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com
 http://www.RenewalComputerServices.com
 http://www.JesusnJim.com (computer repair info, programming)
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to