This project is mirrored from https://github.com/tango-controls/cppTango.git. Pull mirroring updated .
  1. 28 Jan, 2021 1 commit
  2. 19 Jan, 2021 3 commits
  3. 13 Jan, 2021 3 commits
  4. 11 Jan, 2021 4 commits
  5. 03 Jan, 2021 8 commits
  6. 01 Dec, 2020 3 commits
  7. 26 Nov, 2020 2 commits
  8. 21 Nov, 2020 1 commit
  9. 20 Nov, 2020 2 commits
  10. 19 Nov, 2020 2 commits
  11. 18 Nov, 2020 3 commits
  12. 17 Nov, 2020 1 commit
  13. 12 Nov, 2020 1 commit
    • Thomas Braun's avatar
      cpp_test_suite/event/event_lock.cpp: Make it compile on 32-bit linux · 5a461cae
      Thomas Braun authored
      The following compile error with gcc 8.3 is generated:
      
      /home/firma/devel/cppTango/cpp_test_suite/event/event_lock.cpp: In function ‘void set_abs_change(std::__cxx11::string, std::__cxx11::string)’:
      /home/firma/devel/cppTango/cpp_test_suite/event/event_lock.cpp:51:21: error: ambiguous overload for ‘operator<<’ (operand types are ‘Tango::DbDatum’ a
      nd ‘unsigned int’)
           attribute_datum << 1u;
           ~~~~~~~~~~~~~~~~^~~~~
      In file included from /home/firma/devel/cppTango/cppapi/server/tango.h:97,
                       from /home/firma/devel/cppTango/cpp_test_suite/event/event_lock.cpp:17:
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:528:7: note: candidate: ‘void Tango::DbDatum::operator<<(bool)’
        void operator << (bool val);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:637:7: note: candidate: ‘void Tango::DbDatum::operator<<(short int)’
        void operator << (short);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:638:7: note: candidate: ‘void Tango::DbDatum::operator<<(unsigned char)’
        void operator << (unsigned char);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:639:7: note: candidate: ‘void Tango::DbDatum::operator<<(short unsigned int)’
        void operator << (unsigned short);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:640:7: note: candidate: ‘void Tango::DbDatum::operator<<(Tango::DevLong)’
        void operator << (DevLong);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:641:7: note: candidate: ‘void Tango::DbDatum::operator<<(Tango::DevULong)’
        void operator << (DevULong);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:642:7: note: candidate: ‘void Tango::DbDatum::operator<<(Tango::DevLong64)’
        void operator << (DevLong64);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:643:7: note: candidate: ‘void Tango::DbDatum::operator<<(Tango::DevULong64)’
        void operator << (DevULong64);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:644:7: note: candidate: ‘void Tango::DbDatum::operator<<(float)’
        void operator << (float);
             ^~~~~~~~
      /home/firma/devel/cppTango/cppapi/client/dbapi.h:645:7: note: candidate: ‘void Tango::DbDatum::operator<<(double)’
        void operator << (double);
      
      By making the fed in variable unsigned long we avoid the error.
      5a461cae
  14. 02 Nov, 2020 6 commits