The TCHAR macro is twice defined in a log4cxx include file, I submit here a patch for including this macro into a #ifdef sentence that solves the error Reproducible: Always Steps to Reproduce: 1. emerge \>=gcc-4 log4cxx 2. Create a program in c++ that uses log4cxx 3. Compile it with -llog4cxx Actual Results: error: multiple types in one declaration Expected Results: no errors
Created attachment 107262 [details, diff] A modification of the log4cxx-0.9.7-gcc41.patch that solves this bug
Fixed. Thanks!