ax_dll_string

Synopsis

AX_DLL_STRING

Description

Tests for a bug currently in g++ 3.4.4 on Cygwin (maybe other targets with
statically linked libstdc++?) where passing an empty std::string to a dll
will cause a crash on destruction due to incorrect memory handling. See bug
24196 in gcc’s bugzilla for more details:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196

Source Code

License

Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty provided the copyright notice and
this notice are preserved. This file is offered as-is, without any warranty.