migamidoz
Posts: 2
Joined: Wed Jul 18, 2018 12:35 am

Compiler Error

Wed Jul 18, 2018 12:51 am

Hello all,
i am new to Linux so please give me a hand

i was doing a project from github.com called MFRC522_nested_attack. it was working fine on Raspbian 2016-9-23 it was provided in NOOBS 2.0

but when i installed Raspbian Stretch 2018-06-27 every time i compile anything it give me error.

First wiringPi

Code: Select all

wiringPi Build script
=====================


WiringPi Library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
wiringPi.c:1309:21: warning: ‘digitalWrite8Dummy’ defined but not used [-Wunused-function]
 static         void digitalWrite8Dummy       (UNU struct wiringPiNodeStruct *node, UNU int pin, UNU int value) { return ; }
                     ^~~~~~~~~~~~~~~~~~
wiringPi.c:1308:21: warning: ‘digitalRead8Dummy’ defined but not used [-Wunused-function]
 static unsigned int digitalRead8Dummy        (UNU struct wiringPiNodeStruct *node, UNU int UNU pin)            { return 0 ; }
                     ^~~~~~~~~~~~~~~~~
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
[Compile] max31855.c
[Compile] max5322.c
[Compile] ads1115.c
[Compile] sn3218.c
[Compile] bmp180.c
[Compile] htu21d.c
[Compile] ds18b20.c
[Compile] rht03.c
[Compile] drcSerial.c
[Compile] drcNet.c
[Compile] pseudoPins.c
[Compile] wpiExtensions.c
[Link (Dynamic)]
[Install Headers]
[Install Dynamic Lib]

WiringPi Devices Library
[UnInstall]
[Compile] ds1302.c
[Compile] maxdetect.c
[Compile] piNes.c
[Compile] gertboard.c
[Compile] piFace.c
[Compile] lcd128x64.c
[Compile] lcd.c
[Compile] scrollPhat.c
[Compile] piGlow.c
[Link (Dynamic)]
[Install Headers]
[Install Dynamic Lib]

GPIO Utility
[Compile] gpio.c
[Compile] readall.c
[Link]
[Install]

All Done.

NOTE: To compile programs with wiringPi, you need to add:
    -lwiringPi
  to your compile line(s) To use the Gertboard, MaxDetect, etc.
  code (the devLib), you need to also add:
    -lwiringPiDev
  to your compile line(s).
then MFRC522_nested_attack

Code: Select all

/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1877:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __final_insertion_sort(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1877:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
    ^~~
/usr/include/c++/6/bits/stl_algo.h:1883:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    std::__unguarded_insertion_sort(__first + int(_S_threshold), __last,
    ^~~
/usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
  std::__insertion_sort(__first, __last, __comp);
  ^~~
In file included from /usr/include/c++/6/vector:63:0,
                 from src/MFrec.h:25,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = long long unsigned int*; _ForwardIterator = long long unsigned int*; _Allocator = std::allocator<long long unsigned int>]’:
/usr/include/c++/6/bits/stl_uninitialized.h:304:69: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
   _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__last), __result, __alloc);
                                                                     ^
/usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<long long unsigned int*>; _ForwardIterator = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_uninitialized.h:107:5: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
     uninitialized_copy(_InputIterator __first, _InputIterator __last,

/usr/include/c++/6/bits/stl_uninitialized.h:107:5: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
  __uninit_copy(__first, __last, __result);

In file included from /usr/include/c++/6/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_iterator_base_funcs.h: In function ‘typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:135:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     distance(_InputIterator __first, _InputIterator __last)
     ^~~~~~~~
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:135:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:139:42: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
         std::__iterator_category(__first));
                                          ^
In file included from /usr/include/c++/6/vector:63:0,
                 from src/MFrec.h:25,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_move_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = long long unsigned int*; _ForwardIterator = long long unsigned int*; _Allocator = std::allocator<long long unsigned int>]’:
/usr/include/c++/6/bits/stl_uninitialized.h:291:24: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
       __result, __alloc);
                        ^
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _OI = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     copy(_II __first, _II __last, _OI __result)
     ^~~~
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:456:18: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
         __result));
                  ^
/usr/include/c++/6/bits/stl_algobase.h:456:18: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:456:18: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/vector:63:0,
                 from src/MFrec.h:25,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _ForwardIterator = long long unsigned int*; _Tp = long long unsigned int]’:
/usr/include/c++/6/bits/stl_uninitialized.h:279:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_uninitialized.h:279:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_uninitialized.h:281:63: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     { return std::uninitialized_copy(__first, __last, __result); }
                                                               ^
In file included from /usr/include/c++/6/algorithm:62:0,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1925:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __partial_sort(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1925:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1925:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1930:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       std::__heap_select(__first, __middle, __last, __comp);
       ^~~
/usr/include/c++/6/bits/stl_algo.h:1930:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1930:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1931:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       std::__sort_heap(__first, __middle, __comp);
       ^~~
/usr/include/c++/6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1914:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __unguarded_partition_pivot(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1914:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1918:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       std::__move_median_to_first(__first, __first + 1, __mid, __last - 1,
       ^~~
/usr/include/c++/6/bits/stl_algo.h:1918:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1918:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1918:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1920:77: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       return std::__unguarded_partition(__first + 1, __last, __first, __comp);
                                                                             ^
/usr/include/c++/6/bits/stl_algo.h:1920:77: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1920:77: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __insertion_sort(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1844:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    if (__comp(__i, __first))
    ^~
/usr/include/c++/6/bits/stl_algo.h:1844:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1844:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algo.h:1848:8: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
        _GLIBCXX_MOVE_BACKWARD3(__first, __i, __i + 1);
        ^
/usr/include/c++/6/bits/stl_algo.h:1848:8: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1848:8: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/algorithm:62:0,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__unguarded_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1860:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __unguarded_insertion_sort(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1860:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/vector:63:0,
                 from src/MFrec.h:25,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<long long unsigned int*>; _ForwardIterator = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_uninitialized.h:91:9: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
         __uninit_copy(_InputIterator __first, _InputIterator __last,
         ^~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_uninitialized.h:91:9: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_uninitialized.h:93:53: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
         { return std::copy(__first, __last, __result); }
                                                     ^
In file included from /usr/include/c++/6/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_iterator_base_funcs.h: In function ‘typename std::iterator_traits<_Iterator>::difference_type std::__distance(_RandomAccessIterator, _RandomAccessIterator, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:96:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~~~~~~~
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:96:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algobase.h:61:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/cpp_type_traits.h: In function ‘_Iterator std::__miter_base(_Iterator) [with _Iterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/cpp_type_traits.h:408:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __miter_base(_Iterator __it)
     ^~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _OI = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_algobase.h:420:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __copy_move_a2(_II __first, _II __last, _OI __result)
     ^~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:420:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:420:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/vector:63:0,
                 from src/MFrec.h:25,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _ForwardIterator = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_uninitialized.h:107:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     uninitialized_copy(_InputIterator __first, _InputIterator __last,
     ^~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_uninitialized.h:107:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
  __uninit_copy(__first, __last, __result);
                                         ^
In file included from /usr/include/c++/6/algorithm:62:0,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1665:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __heap_select(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1665:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1665:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1669:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       std::__make_heap(__first, __middle, __comp);
       ^~~
/usr/include/c++/6/bits/stl_algo.h:1671:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
  if (__comp(__i, __first))
  ^~
/usr/include/c++/6/bits/stl_algo.h:1671:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1671:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1672:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    std::__pop_heap(__first, __middle, __i, __comp);
    ^~~
/usr/include/c++/6/bits/stl_algo.h:1672:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1672:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
                 from /usr/include/c++/6/algorithm:62,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__sort_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_heap.h:394:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~~~~~~~~
/usr/include/c++/6/bits/stl_heap.h:394:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_heap.h:400:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    std::__pop_heap(__first, __last, __last, __comp);
    ^~~
/usr/include/c++/6/bits/stl_heap.h:400:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_heap.h:400:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/algorithm:62:0,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__move_median_to_first(_Iterator, _Iterator, _Iterator, _Iterator, _Compare) [with _Iterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:78:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __move_median_to_first(_Iterator __result,_Iterator __a, _Iterator __b,
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:78:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:78:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:78:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:81:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       if (__comp(__a, __b))
       ^~
/usr/include/c++/6/bits/stl_algo.h:81:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:81:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:83:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    if (__comp(__b, __c))
    ^~
/usr/include/c++/6/bits/stl_algo.h:83:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:83:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:84:6: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
      std::iter_swap(__result, __b);
      ^~~
/usr/include/c++/6/bits/stl_algo.h:85:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    else if (__comp(__a, __c))
         ^~
/usr/include/c++/6/bits/stl_algo.h:85:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:85:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:86:6: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
      std::iter_swap(__result, __c);
      ^~~
/usr/include/c++/6/bits/stl_algo.h:88:6: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
      std::iter_swap(__result, __a);
      ^~~
/usr/include/c++/6/bits/stl_algo.h:90:12: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       else if (__comp(__a, __c))
            ^~
/usr/include/c++/6/bits/stl_algo.h:90:12: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:90:12: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:91:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
  std::iter_swap(__result, __a);
  ^~~
/usr/include/c++/6/bits/stl_algo.h:92:12: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       else if (__comp(__b, __c))
            ^~
/usr/include/c++/6/bits/stl_algo.h:92:12: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:92:12: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:93:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
  std::iter_swap(__result, __c);
  ^~~
/usr/include/c++/6/bits/stl_algo.h:95:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
  std::iter_swap(__result, __b);
  ^~~
/usr/include/c++/6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1893:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __unguarded_partition(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1893:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1893:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1899:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    while (__comp(__first, __pivot))
    ^~~~~
/usr/include/c++/6/bits/stl_algo.h:1899:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1899:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1902:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    while (__comp(__pivot, __last))
    ^~~~~
/usr/include/c++/6/bits/stl_algo.h:1902:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1902:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1906:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    std::iter_swap(__first, __last);
    ^~~
In file included from /usr/include/c++/6/bits/stl_algobase.h:71:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/predefined_ops.h: In member function ‘bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Iterator2 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/predefined_ops.h:42:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       operator()(_Iterator1 __it1, _Iterator2 __it2) const
       ^~~~~~~~
/usr/include/c++/6/bits/predefined_ops.h:42:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_BI2 std::move_backward(_BI1, _BI1, _BI2) [with _BI1 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _BI2 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_algobase.h:658:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     move_backward(_BI1 __first, _BI1 __last, _BI2 __result)
     ^~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:658:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:658:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:670:15: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       __result);
               ^
/usr/include/c++/6/bits/stl_algobase.h:670:15: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:670:15: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/algorithm:62:0,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Val_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1818:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __unguarded_linear_insert(_RandomAccessIterator __last,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_OI std::copy(_II, _II, _OI) [with _II = std::move_iterator<long long unsigned int*>; _OI = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
     copy(_II __first, _II __last, _OI __result)
     ^~~~
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_iterator.h: In function ‘_Iterator std::__niter_base(__gnu_cxx::__normal_iterator<_Iterator, _Container>) [with _Iterator = long long unsigned int*; _Container = std::vector<long long unsigned int>]’:
/usr/include/c++/6/bits/stl_iterator.h:980:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __niter_base(__gnu_cxx::__normal_iterator<_Iterator, _Container> __it)
     ^~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:63:0,
                 from src/MFrec.h:25,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _ForwardIterator = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_uninitialized.h:91:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
         __uninit_copy(_InputIterator __first, _InputIterator __last,
         ^~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_uninitialized.h:91:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_uninitialized.h:93:53: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
         { return std::copy(__first, __last, __result); }
                                                     ^
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
                 from /usr/include/c++/6/algorithm:62,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_heap.h:319:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~~~~~~~~
/usr/include/c++/6/bits/stl_heap.h:319:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_heap.h:237:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~~~~~~~
/usr/include/c++/6/bits/stl_heap.h:237:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_heap.h:237:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘void std::iter_swap(_ForwardIterator1, _ForwardIterator2) [with _ForwardIterator1 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _ForwardIterator2 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_algobase.h:120:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
     ^~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:120:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = true; _BI1 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _BI2 = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/stl_algobase.h:595:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result)
     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:595:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:595:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algobase.h:71:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/predefined_ops.h: In member function ‘bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = long long unsigned int; _Iterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >]’:
/usr/include/c++/6/bits/predefined_ops.h:71:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       operator()(_Value& __val, _Iterator __it) const
       ^~~~~~~~
In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_iterator.h: In function ‘decltype (std::__miter_base(__it.base())) std::__miter_base(std::move_iterator<_IteratorL>) [with _Iterator = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_iterator.h:1243:5: note: parameter passing for argument of type ‘std::move_iterator<long long unsigned int*>’ will change in GCC 7.1
     __miter_base(move_iterator<_Iterator> __it)
     ^~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _OI = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     copy(_II __first, _II __last, _OI __result)
     ^~~~
/usr/include/c++/6/bits/stl_algobase.h:446:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algobase.h:456:18: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
         __result));
                  ^
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
                 from /usr/include/c++/6/algorithm:62,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Distance = int; _Tp = long long unsigned int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
     ^~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_heap.h:217:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
    if (__comp(__first + __secondChild,
    ^~
/usr/include/c++/6/bits/stl_heap.h:217:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_heap.h:217:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_algobase.h: In function ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _OI = long long unsigned int*]’:
/usr/include/c++/6/bits/stl_algobase.h:420:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __copy_move_a2(_II __first, _II __last, _OI __result)
     ^~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:420:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
                 from /usr/include/c++/6/algorithm:62,
                 from src/MFrec.h:27,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Distance = int; _Tp = long long unsigned int; _Compare = __gnu_cxx::__ops::_Iter_less_val]’:
/usr/include/c++/6/bits/stl_heap.h:124:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
     __push_heap(_RandomAccessIterator __first,
     ^~~~~~~~~~~
/usr/include/c++/6/bits/stl_heap.h:129:48: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       while (__holeIndex > __topIndex && __comp(__first + __parent, __value))
                                          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/stl_algobase.h:71:0,
                 from /usr/include/c++/6/bits/char_traits.h:39,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from src/RC522.h:31,
                 from src/MFrec.h:22,
                 from src/MFrec.cpp:9:
/usr/include/c++/6/bits/predefined_ops.h: In member function ‘bool __gnu_cxx::__ops::_Iter_less_val::operator()(_Iterator, _Value&) const [with _Iterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Value = long long unsigned int]’:
/usr/include/c++/6/bits/predefined_ops.h:55:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
       operator()(_Iterator __it, _Value& __val) const
       ^~~~~~~~
gcc -c src/crapto1.c -o build/crapto1.o
gcc -c src/crypto1.c -o build/crypto1.o
g++ build/main.o build/RC522.o build/MFrec.o build/crapto1.o build/crypto1.o -o crack -lpthread -lwiringPi

didn't manage to put all the error code in because this was all i can copy.


by searching the internet all i got is that the new version have some different compiler.. can u guys help me?

B.Goode
Posts: 6194
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Compiler Error

Wed Jul 18, 2018 8:23 pm

If you want help to track down errors you will need to post the evidence of them occuring.

I don't see any errors in what you have posted.

The first contains Warnings.

The second contains Notes about a forthcoming change to the compiler.

Do you actually get a working executable at the end of the build process?

User avatar
DougieLawson
Posts: 33398
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Compiler Error

Wed Jul 18, 2018 8:36 pm

It builds OK for me on plain Raspbian with G++ V6.3.0 and wiringPi 2.44

cd /tmp
wget https://github.com/HakonHystad/MFRC522_nested_attack/archive/master.zip
7z x master.zip
cd MFC*
mkdir build
make
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

migamidoz
Posts: 2
Joined: Wed Jul 18, 2018 12:35 am

Re: Compiler Error

Fri Aug 03, 2018 3:59 pm

If you want help to track down errors you will need to post the evidence of them occuring.

I don't see any errors in what you have posted.

The first contains Warnings.

The second contains Notes about a forthcoming change to the compiler.

Do you actually get a working executable at the end of the build process?

no at the end it doesn't work. but it work's fine on older versions of Raspbian .

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 12 guests