Changes between Initial Version and Version 1 of Ticket #11067, comment 1


Ignore:
Timestamp:
Dec 28, 2017, 1:32:45 PM (5 years ago)
Author:
James E. King, III

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11067, comment 1

    initial v1  
    1313}}}
    1414
    15 When building with gcc-7.2:
     15When building with gcc-7.2 and -Wall:
    1616{{{
    17 error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]
    18      m = *m_i++;
    19           ~~~^~
     17gcc.compile.c++ ../../../bin.v2/libs/date_time/test/testdate_iterator.test/gcc-gnu-7/debug/threadapi-pthread/gregorian/testdate_iterator.o
     18gregorian/testdate_iterator.cpp: In function ‘int main()’:
     19gregorian/testdate_iterator.cpp:63:20: error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]
     20     date chk = *m_i++;
     21                 ~~~^~
     22gregorian/testdate_iterator.cpp:67:15: error: no ‘operator--(int)’ declared for postfix ‘--’ [-fpermissive]
     23     chk = *m_i--;
     24            ~~~^~
     25
     26    "g++"   -O0 -fno-inline -Wall -g -fPIC -m64 -Wunused-local-typedefs -DBOOST_ALL_NO_LIB -DBOOST_ALL_NO_LIB=1 -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_DATE_TIME_STATIC_LINK -DDATE_TIME_INLINE  -I"../../.." -c -o "../../../bin.v2/libs/date_time/test/testdate_iterator.test/gcc-gnu-7/debug/threadapi-pthread/gregorian/testdate_iterator.o" "gregorian/testdate_iterator.cpp"
    2027}}}