rm5248 commented on issue #563:
URL: 
https://github.com/apache/logging-log4cxx/issues/563#issuecomment-3567967018

   I can try to compile it later, but I'm more concerned with building out of 
the box without needing to install a custom compiler.
   
   This is the latest version able to be installed thru the Debian repos:
   ```
   robert@debian:~/logging-log4cxx/build$ g++ --version
   g++ (Debian 12.2.0-14+deb12u1) 12.2.0
   Copyright (C) 2022 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   ```
   
   Two thoughts:
   
   - this could be related to the `__cpp_concepts` check, there are two 
versions: `201907L` and `202002L`, we use the second one
   - it could be a GCC bug in the 12.x series.  I have had to do some checks 
before to see what compiler version is being used and turn on/off certain code. 
 The `__GNUC__`, `__GNUC_MINOR__`, and `__GNUC_PATCHLEVEL__` macros are useful 
here


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to