Hi David,

thanks, fixed. I just discovered an issue with old-style casts for which I have no good solution yet:

On Raspberry Pi some system #include files seem to have old-style C-casts which then trigger
the -Woldstyle-cast warning. On my Intel Ubuntu this works just fine. The workaround for platforms
on which
-Woldstyle-cast warning comes from system #include files is ./configure with CXX_WERROR=no.

/// Jürgen


On 08/07/2017 07:51 PM, David B. Lamkins wrote:
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -I sql -Wold-style-cast -Werror -I/usr/include -
 -f 'main.cc' || echo './'`main.cc
main.cc:84:26: error: use of old-style cast [-Werror,-Wold-style-cast]
   CERR << "thread: " << (const void *)pthread_self() << endl;


This is with the same ./configure flags as my previous report:

./configure RATIONAL_NUMBERS_WANTED=yes PERFORMANCE_COUNTERS_WANTED=yes CORE_COUNT_WANTED=-3




Reply via email to