<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/log4cplus/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/log4cplus/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/log4cplus/bugs/</id><updated>2026-07-07T20:11:12.927000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#167 RollingFileAppender does not create a backup file when logging from multiple processes</title><link href="https://sourceforge.net/p/log4cplus/bugs/167/?limit=100#a8b0" rel="alternate"/><published>2026-07-07T20:11:12.927000Z</published><updated>2026-07-07T20:11:12.927000Z</updated><author><name>Václav Haisman</name><uri>https://sourceforge.net/u/wilx/</uri></author><id>https://sourceforge.net14e0fffed629d97ef325755797d7dbb4a9b5370a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;labels&lt;/strong&gt;: v1.1.1, windows, win32, rollingfileappender --&amp;gt; v1.1.1, windows, win32, rollingfileappender, v2.2.0.1&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#167 RollingFileAppender does not create a backup file when logging from multiple processes</title><link href="https://sourceforge.net/p/log4cplus/bugs/167/?limit=100#8f69" rel="alternate"/><published>2026-07-07T20:10:32.600000Z</published><updated>2026-07-07T20:10:32.600000Z</updated><author><name>Václav Haisman</name><uri>https://sourceforge.net/u/wilx/</uri></author><id>https://sourceforge.net8a02e3a768102414181c96954d66bf2cefccf59f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This should be fixed by v2.2.0.1: &lt;a href="https://github.com/log4cplus/log4cplus/releases/tag/REL_2_2_0_1" rel="nofollow"&gt;https://github.com/log4cplus/log4cplus/releases/tag/REL_2_2_0_1&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#335 AsyncAppender leads to memory leaks</title><link href="https://sourceforge.net/p/log4cplus/bugs/335/?limit=25#fc5b" rel="alternate"/><published>2020-05-22T19:23:17.892000Z</published><updated>2020-05-22T19:23:17.892000Z</updated><author><name>Guglielmo Fanini</name><uri>https://sourceforge.net/u/gfanini/</uri></author><id>https://sourceforge.netc668a9343308f06472369a6cb8d750dcebcb9094</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am observing memory leaks in log4cplus compiled as static library with windows visual studio 2015, since I cannot terminate the thread which needs to run continuosly in a server, should I call log4cplus::threadCleanup() periodically or what ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#344 liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/?limit=100#a7db" rel="alternate"/><published>2019-12-30T05:03:10.658000Z</published><updated>2019-12-30T05:03:10.658000Z</updated><author><name>Václav Haisman</name><uri>https://sourceforge.net/u/wilx/</uri></author><id>https://sourceforge.net4c3b33d46ee2c825202a01f52f8d3b64a898d602</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; not-a-bug&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Václav Haisman&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#344 liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/?limit=100#4f55" rel="alternate"/><published>2019-07-29T16:45:33.034000Z</published><updated>2019-07-29T16:45:33.034000Z</updated><author><name>Václav Haisman</name><uri>https://sourceforge.net/u/wilx/</uri></author><id>https://sourceforge.netcae97f4e8e43266f09a8b54db6c5e60be43ad5ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -3,7 +3,7 @@&lt;/span&gt;
 I am using a Visual Studio GDB project and I have a problem including the liblog4cplus. a static library in  the linker inputs. 
 This are the errors received:

&lt;span class="gd"&gt;-```&lt;/span&gt;
&lt;span class="gi"&gt;+```text&lt;/span&gt;
 ..\..\Dependencies\log4cplus-1.2.1\.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `void std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::_M_construct&amp;amp;lt;char*&amp;amp;gt;(char*, char*, std::forward_iterator_tag)&amp;amp;#39;:
 2&amp;amp;gt;\usr\include\c++\5\bits\basic_string.tcc(223): error : undefined reference to `std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::_M_create(unsigned long&amp;amp;amp;, unsigned long)&amp;amp;#39;
 2&amp;amp;gt;..\..\..\Dependencies\log4cplus-1.2.1\.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::operator=(std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;&amp;amp;amp;&amp;amp;amp;)&amp;amp;#39;:
&lt;span class="gu"&gt;@@ -15,7 +15,7 @@&lt;/span&gt;
 In order compile the library with c++11 I added the command -std=c++11 in the configure file(CXXFLAGS = &amp;amp;#34;-std=c++11&amp;amp;#34;) 
 This are the parts from configure file which I changed:

&lt;span class="gd"&gt;-```&lt;/span&gt;
&lt;span class="gi"&gt;+```sh&lt;/span&gt;
 fi
 { $as_echo &amp;amp;#34;$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu&amp;amp;#34; &amp;amp;gt;&amp;amp;amp;5
 $as_echo &amp;amp;#34;$ac_cv_cxx_compiler_gnu&amp;amp;#34; &amp;amp;gt;&amp;amp;amp;6; }
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>#344 liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/?limit=100#db7b" rel="alternate"/><published>2019-07-29T16:43:46.629000Z</published><updated>2019-07-29T16:43:46.629000Z</updated><author><name>Václav Haisman</name><uri>https://sourceforge.net/u/wilx/</uri></author><id>https://sourceforge.nete0fe638d8072df7ecee700b66a2c920b93b7d9c5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For 1.2.1, the decision how to compile log4cplus, whether to use C++03 or C++11 is yours. It can be compiled either way. Generally, if you want to change &lt;code&gt;CXXFLAGS&lt;/code&gt; you can do so on &lt;code&gt;configure&lt;/code&gt; script command line by simply adding &lt;code&gt;CXXFLAGS="-std=c++11"&lt;/code&gt; to its command line.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#344 liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/?limit=100#0c41" rel="alternate"/><published>2019-07-29T16:39:27.332000Z</published><updated>2019-07-29T16:39:27.332000Z</updated><author><name>Václav Haisman</name><uri>https://sourceforge.net/u/wilx/</uri></author><id>https://sourceforge.net07faf1b85a66539befc6b7568d6328531f78accf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -2,17 +2,20 @@&lt;/span&gt;

 I am using a Visual Studio GDB project and I have a problem including the liblog4cplus. a static library in  the linker inputs. 
 This are the errors received:
&lt;span class="gi"&gt;+&lt;/span&gt;
&lt;span class="gi"&gt;+```&lt;/span&gt;
 ..\..\Dependencies\log4cplus-1.2.1\.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `void std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::_M_construct&amp;amp;lt;char*&amp;amp;gt;(char*, char*, std::forward_iterator_tag)&amp;amp;#39;:
 2&amp;amp;gt;\usr\include\c++\5\bits\basic_string.tcc(223): error : undefined reference to `std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::_M_create(unsigned long&amp;amp;amp;, unsigned long)&amp;amp;#39;
 2&amp;amp;gt;..\..\..\Dependencies\log4cplus-1.2.1\.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::operator=(std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;&amp;amp;amp;&amp;amp;amp;)&amp;amp;#39;:
 2&amp;amp;gt;\usr\include\c++\5\bits\basic_string.h(589): error : undefined reference to `std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;::swap(std::__cxx11::basic_string&amp;amp;lt;char, std::char_traits&amp;amp;lt;char&amp;amp;gt;, std::allocator&amp;amp;lt;char&amp;amp;gt; &amp;amp;gt;&amp;amp;amp;)&amp;amp;#39;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gi"&gt;+```&lt;/span&gt;

 It seems that the library is not recognised as being compiled with -std=c++11 

 In order compile the library with c++11 I added the command -std=c++11 in the configure file(CXXFLAGS = &amp;amp;#34;-std=c++11&amp;amp;#34;) 
 This are the parts from configure file which I changed:

&lt;span class="gi"&gt;+```&lt;/span&gt;
 fi
 { $as_echo &amp;amp;#34;$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu&amp;amp;#34; &amp;amp;gt;&amp;amp;amp;5
 $as_echo &amp;amp;#34;$ac_cv_cxx_compiler_gnu&amp;amp;#34; &amp;amp;gt;&amp;amp;amp;6; }
&lt;span class="gu"&gt;@@ -101,6 +104,7 @@&lt;/span&gt;
     CXXFLAGS=&amp;amp;#34;-std=c++11&amp;amp;#34;
   fi
 fi
&lt;span class="gi"&gt;+```&lt;/span&gt;

 The commad used to compile the library is:
 sudo ./configure --enable-static
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/" rel="alternate"/><published>2019-07-29T14:53:12.377000Z</published><updated>2019-07-29T14:53:12.377000Z</updated><author><name>Andreea Furnica</name><uri>https://sourceforge.net/u/andreeafurnica/</uri></author><id>https://sourceforge.net41160d6d7d0cd00637b357c81c9fcb7405b84fca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using a Visual Studio GDB project and I have a problem including the liblog4cplus. a static library in  the linker inputs. &lt;br/&gt;
This are the errors received:&lt;br/&gt;
....\Dependencies\log4cplus-1.2.1.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function &lt;code&gt;void std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_construct&amp;lt;char*&amp;gt;(char*, char*, std::forward_iterator_tag)':
2&amp;gt;\usr\include\c++\5\bits\basic_string.tcc(223): error : undefined reference to&lt;/code&gt;std::&lt;strong&gt;cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char=""&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_create(unsigned long&amp;amp;, unsigned long)'&lt;br/&gt;
2&amp;gt;......\Dependencies\log4cplus-1.2.1.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function &lt;code&gt;std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::operator=(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;&amp;amp;)':
2&amp;gt;\usr\include\c++\5\bits\basic_string.h(589): error : undefined reference to&lt;/code&gt;std::&amp;lt;/char&amp;gt;&amp;lt;/char,&amp;gt;&lt;/strong&gt;cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char=""&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::swap(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char=""&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;)'&amp;lt;/char&amp;gt;&amp;lt;/char,&amp;gt;&amp;lt;/char&amp;gt;&amp;lt;/char,&amp;gt;&lt;/p&gt;
&lt;p&gt;It seems that the library is not recognised as being compiled with -std=c++11 &lt;/p&gt;
&lt;p&gt;In order compile the library with c++11 I added the command -std=c++11 in the configure file(CXXFLAGS = "-std=c++11") &lt;br/&gt;
This are the parts from configure file which I changed:&lt;/p&gt;
&lt;p&gt;fi&lt;br/&gt;
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" &amp;gt;&amp;amp;5&lt;br/&gt;
$as_echo "$ac_cv_cxx_compiler_gnu" &amp;gt;&amp;amp;6; }&lt;br/&gt;
if test $ac_compiler_gnu = yes; then&lt;br/&gt;
  GXX=yes&lt;br/&gt;
else&lt;br/&gt;
  GXX=&lt;br/&gt;
fi&lt;br/&gt;
ac_test_CXXFLAGS=${CXXFLAGS+set}&lt;br/&gt;
ac_save_CXXFLAGS=$CXXFLAGS&lt;br/&gt;
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" &amp;gt;&amp;amp;5&lt;br/&gt;
$as_echo_n "checking whether $CXX accepts -g... " &amp;gt;&amp;amp;6; }&lt;br/&gt;
if ${ac_cv_prog_cxx_g+:} false; then :&lt;br/&gt;
  $as_echo_n "(cached) " &amp;gt;&amp;amp;6&lt;br/&gt;
else&lt;br/&gt;
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag&lt;br/&gt;
   ac_cxx_werror_flag=yes&lt;br/&gt;
   ac_cv_prog_cxx_g=no&lt;br/&gt;
   CXXFLAGS="-g -std=c++11"&lt;br/&gt;
   cat confdefs.h - &amp;lt;&amp;lt;_ACEOF &amp;gt;conftest.$ac_ext&lt;br/&gt;
/&lt;em&gt; end confdefs.h.  &lt;/em&gt;/&lt;/p&gt;
&lt;p&gt;int&lt;br/&gt;
main ()&lt;br/&gt;
{&lt;/p&gt;
&lt;p&gt;;&lt;br/&gt;
  return 0;&lt;br/&gt;
}&lt;br/&gt;
_ACEOF&lt;br/&gt;
if ac_fn_cxx_try_compile "$LINENO"; then :&lt;br/&gt;
  ac_cv_prog_cxx_g=yes&lt;br/&gt;
else&lt;br/&gt;
  CXXFLAGS="-std=c++11"&lt;br/&gt;
      cat confdefs.h - &amp;lt;&amp;lt;_ACEOF &amp;gt;conftest.$ac_ext&lt;br/&gt;
/&lt;em&gt; end confdefs.h.  &lt;/em&gt;/&lt;/p&gt;
&lt;p&gt;int&lt;br/&gt;
main ()&lt;br/&gt;
{&lt;/p&gt;
&lt;p&gt;;&lt;br/&gt;
  return 0;&lt;br/&gt;
}&lt;br/&gt;
_ACEOF&lt;br/&gt;
if ac_fn_cxx_try_compile "$LINENO"; then :&lt;/p&gt;
&lt;p&gt;else&lt;br/&gt;
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag&lt;br/&gt;
     CXXFLAGS="-g -std=c++11"&lt;br/&gt;
     cat confdefs.h - &amp;lt;&amp;lt;_ACEOF &amp;gt;conftest.$ac_ext&lt;br/&gt;
/&lt;em&gt; end confdefs.h.  &lt;/em&gt;/&lt;/p&gt;
&lt;p&gt;int&lt;br/&gt;
main ()&lt;br/&gt;
{&lt;/p&gt;
&lt;p&gt;;&lt;br/&gt;
  return 0;&lt;br/&gt;
}&lt;br/&gt;
_ACEOF&lt;br/&gt;
if ac_fn_cxx_try_compile "$LINENO"; then :&lt;br/&gt;
  ac_cv_prog_cxx_g=yes&lt;br/&gt;
fi&lt;br/&gt;
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext&lt;br/&gt;
fi&lt;br/&gt;
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext&lt;br/&gt;
fi&lt;br/&gt;
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext&lt;br/&gt;
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag&lt;br/&gt;
fi&lt;br/&gt;
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" &amp;gt;&amp;amp;5&lt;br/&gt;
$as_echo "$ac_cv_prog_cxx_g" &amp;gt;&amp;amp;6; }&lt;br/&gt;
if test "$ac_test_CXXFLAGS" = set; then&lt;br/&gt;
  CXXFLAGS=$ac_save_CXXFLAGS&lt;br/&gt;
elif test $ac_cv_prog_cxx_g = yes; then&lt;br/&gt;
  if test "$GXX" = yes; then&lt;br/&gt;
    CXXFLAGS="-g -O2 -std=c++11"&lt;br/&gt;
  else&lt;br/&gt;
    CXXFLAGS="-g -std=c++11"&lt;br/&gt;
  fi&lt;br/&gt;
else&lt;br/&gt;
  if test "$GXX" = yes; then&lt;br/&gt;
    CXXFLAGS="-O2 -std=c++11"&lt;br/&gt;
  else&lt;br/&gt;
    CXXFLAGS="-std=c++11"&lt;br/&gt;
  fi&lt;br/&gt;
fi&lt;/p&gt;
&lt;p&gt;The commad used to compile the library is:&lt;br/&gt;
sudo ./configure --enable-static&lt;/p&gt;
&lt;p&gt;The compilation worked well.&lt;/p&gt;
&lt;p&gt;I am using the log4cpuls 1.2.1 version and the gcc-5.4.0 version to compile the library.&lt;br/&gt;
I think the error from visual studio is related to c++11 compilation. &lt;br/&gt;
Could you please tell me if the compilation procedure is ok?&lt;br/&gt;
If not, please tell which is the right procedure to compile the library for c++11?&lt;br/&gt;
Does the errors mean somenthing else?&lt;br/&gt;
Please find attached the configure file/&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/" rel="alternate"/><published>2019-07-29T14:53:12.377000Z</published><updated>2019-07-29T14:53:12.377000Z</updated><author><name>Andreea Furnica</name><uri>https://sourceforge.net/u/andreeafurnica/</uri></author><id>https://sourceforge.netd8e37809738514c06e26aa672f76f0d68a949dd8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 344 has been modified: liblog4cplus. a linux library - compilation for std=c++11&lt;br/&gt;
Edited By: Václav Haisman (wilx)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -2,17 +2,20 @@&lt;/p&gt;
&lt;p&gt;I am using a Visual Studio GDB project and I have a problem including the liblog4cplus. a static library in  the linker inputs. &lt;br/&gt;
 This are the errors received:&lt;br/&gt;
+&lt;br/&gt;
+&lt;code&gt;..\..\Dependencies\log4cplus-1.2.1\.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `void std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_construct&amp;lt;char*&amp;gt;(char*, char*, std::forward_iterator_tag)':
 2&amp;gt;\usr\include\c++\5\bits\basic_string.tcc(223): error : undefined reference to `std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_create(unsigned long&amp;amp;, unsigned long)'
 2&amp;gt;..\..\..\Dependencies\log4cplus-1.2.1\.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::operator=(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;&amp;amp;)':
 2&amp;gt;\usr\include\c++\5\bits\basic_string.h(589): error : undefined reference to `std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::swap(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;)'
-
+&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It seems that the library is not recognised as being compiled with -std=c++11 &lt;/p&gt;
&lt;p&gt;In order compile the library with c++11 I added the command -std=c++11 in the configure file(CXXFLAGS = "-std=c++11") &lt;br/&gt;
 This are the parts from configure file which I changed:&lt;/p&gt;
&lt;p&gt;+```&lt;br/&gt;
 fi&lt;br/&gt;
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" &amp;gt;&amp;amp;5&lt;br/&gt;
 $as_echo "$ac_cv_cxx_compiler_gnu" &amp;gt;&amp;amp;6; }&lt;br/&gt;
@@ -101,6 +104,7 @@&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt; CXXFLAGS="-std=c++11"
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;fi&lt;br/&gt;
 fi&lt;br/&gt;
+```&lt;/p&gt;
&lt;p&gt;The commad used to compile the library is:&lt;br/&gt;
 sudo ./configure --enable-static&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>liblog4cplus. a linux library - compilation for std=c++11</title><link href="https://sourceforge.net/p/log4cplus/bugs/344/" rel="alternate"/><published>2019-07-29T14:53:12.377000Z</published><updated>2019-07-29T14:53:12.377000Z</updated><author><name>Andreea Furnica</name><uri>https://sourceforge.net/u/andreeafurnica/</uri></author><id>https://sourceforge.nete6bc4923e3180ea9b7176d15799518551bf2accc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 344 has been modified: liblog4cplus. a linux library - compilation for std=c++11&lt;br/&gt;
Edited By: Václav Haisman (wilx)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -3,7 +3,7 @@&lt;/p&gt;
&lt;p&gt;I am using a Visual Studio GDB project and I have a problem including the liblog4cplus. a static library in  the linker inputs. &lt;br/&gt;
 This are the errors received:&lt;/p&gt;
&lt;p&gt;-&lt;code&gt;+&lt;/code&gt;text&lt;br/&gt;
 ....\Dependencies\log4cplus-1.2.1.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function &lt;code&gt;void std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_construct&amp;lt;char*&amp;gt;(char*, char*, std::forward_iterator_tag)':
 2&amp;gt;\usr\include\c++\5\bits\basic_string.tcc(223): error : undefined reference to&lt;/code&gt;std::&lt;strong&gt;cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char=""&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_create(unsigned long&amp;amp;, unsigned long)'&lt;br/&gt;
 2&amp;gt;......\Dependencies\log4cplus-1.2.1.libs\liblog4cplus.a(liblog4cplus_la-appender.o): In function `std::&amp;lt;/char&amp;gt;&amp;lt;/char,&amp;gt;&lt;/strong&gt;cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char=""&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::operator=(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char=""&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;&amp;amp;)':&lt;br/&gt;
@@ -15,7 +15,7 @@&amp;lt;/char&amp;gt;&amp;lt;/char,&amp;gt;&amp;lt;/char&amp;gt;&amp;lt;/char,&amp;gt;&lt;/p&gt;
&lt;p&gt;In order compile the library with c++11 I added the command -std=c++11 in the configure file(CXXFLAGS = "-std=c++11") &lt;br/&gt;
 This are the parts from configure file which I changed:&lt;/p&gt;
&lt;p&gt;-&lt;code&gt;+&lt;/code&gt;sh&lt;br/&gt;
 fi&lt;br/&gt;
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" &amp;gt;&amp;amp;5&lt;br/&gt;
 $as_echo "$ac_cv_cxx_compiler_gnu" &amp;gt;&amp;amp;6; }&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>