t-b
- The `#include <limits>` fix makes sense
- For `my_bool` I suggest to use what TangoDatabase uses in https://gitlab.com/tango-controls/TangoDatabase/-/blob/main/common.h#L12.

Regarding Tango::string_free, this is part of cppTango since 9.3.3. Are you required to use an old version like that? Latest 9.3.x is 9.3.6, and on the modern branch we have 9.4.2.

Sure I can try it with version 9.4.2, but now I have another problem. Following the instructions:
https://tango-controls.readthedocs.io/en/latest/installation/tango-on-linux.html#debian-ubuntu
Everything worked fine.

However, following the installation procedure in version 9.4.2, I do not understand why I do not see a tango folder after the installation process?

As I understand now I can not use ./configure command on 9.4.2 tango version. I downloaded the latest version from:
https://gitlab.com/tango-controls/TangoSourceDistribution/-/releases

And I got stuck on such a warning from CMake. By calling the command:

cmake CMAKE_INSTALL_PREFIX='/usr/local' TSD_JAVA_PATH='/lib/jvm/java-11-openjdk-amd64/bin' MYSQL_HOST='localhost' MYSQL_ADMIN='carolinii' MYSQL_ADMIN_PASSWD='tango' TDB_DATABASE_SCHEMA='ON' ..



- C++
– CMake: version 3.22.1
– Target platform: Linux 64-bit
– C++ Compiler: GNU with version 11.3.0
– C Compiler: GNU with version 11.3.0
– Build type: Release
– Environment: TANGO_HOST=
– Found OMNIORB_VERSION=4.2.5
– Check if cppzmq is present and recent enough: TRUE
– Check if libzmq version is >= 4.0.5: TRUE
– Using /home/carolinii/Projects/tango/tango-9.4.2/lib/cpp/cppapi/include as build-time include directory
Using IDL=/home/carolinii/Projects/tango/tango-9.4.2/lib/idl
– Java
– IDL
– Database
– Using bundled libtango
– No MySQL client program specified using -DMYSQL - default is /usr/bin/mariadb

CMake Warning at cppserver/database/configure/CMakeLists.txt:104 (message):
DB Connection check failed with: ERROR 1045 (28000): Access denied for user 'carolinii'@'localhost' (using password: NO)

Call Stack (most recent call first):
cppserver/database/CMakeLists.txt:17 (include)

CMake Warning at cppserver/database/configure/CMakeLists.txt:115 (message):
DB version check failed with: ERROR 1045 (28000): Access denied for user
'carolinii'@'localhost' (using password: NO)

Call Stack (most recent call first):
cppserver/database/CMakeLists.txt:17 (include)
– Starter
– Using bundled libtango
– Access Control
– Test
– Using bundled libtango
– Using bundled libtango
– Summary:

Configuration (TangoSourceDistribution): Source code location: /home/carolinii/Projects/tango/tango-9.4.2
Version: 9.4.2
Compiler: C++ GNU 11.3.0
OMNIORB PATH: /usr
OMNIORB VERSION: 4.2.5
ZMQ PATH: /usr
ZMQ VERSION: 4.3.4
JAVA PATH: /usr/bin/java
JAVA VERSION: 11.0.19
Database: DB NAME: tango
CLIENT LIB: /usr/lib/x86_64-linux-gnu/libmariadb.so
CLIENT VERSION: 3.3.4
SERVER VERSION: unknown
CONNECTION: FALSE
Build: libraries: ON
java application : ON
access control server: OFF
database server: ON
database schema create: OFF
Please check whether the configuration I detected matches what you would like to have.
– Configuring done
– Generating done
– Build files have been written to: /home/carolinii/Projects/tango/tango-9.4.2/build


I will add that in the database I have the user carolinii and the appropriate password.
Edited 9 months ago