[repost] regressions in como-win32-4.3.3-vc7.1

This post caught nobody's attention two days ago, but the error is still showing... -- Original message -- Please see http://tinyurl.com/5f7ba "C:\Comeau\libcomo\cnames\cstring", line 31: error #247: function "std::strlen" has already been defined extern "C++" inline size_t strlen(const char *arg) { return ::strlen(arg); } ^ "C:\Comeau\libcomo\cnames\cstring", line 31: error #247: function "std::strlen" has already been defined extern "C++" inline size_t strlen(const char *arg) { return ::strlen(arg); } ^ 2 errors detected in the compilation of "..\libs\multi_index\test\test_basic_main.cpp". The problem has nothing to do with Boost.MultiIndex, actually, as test_basic_main.cpp does not do anything more than including <boost/test/included/test_exec_monitor.hpp> These tests used to pass one or two days ago. I've inspected Boost.Test for recent changes and found none. Other libraries are affected by this problem: algorithm/minmax algorithm/string program_options ... Thanks Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

The problem has nothing to do with Boost.MultiIndex, actually, as test_basic_main.cpp does not do anything more than including <boost/test/included/test_exec_monitor.hpp>
These tests used to pass one or two days ago. I've inspected Boost.Test for recent changes and found none. Other libraries are affected by this problem:
algorithm/minmax algorithm/string program_options
Yep, regex is effected as well, and again there have been no recent changes. It looks rather more like a como setup problem, but that's just a guess. John.

Bronek Kozicki wrote:
John Maddock wrote:
changes. It looks rather more like a como setup problem, but that's just a guess.
I will try to find culprit when I'm back home.
I was able to reproduce this problem with very simple test program: #include <cstring> #include <cstring> // file included twice int main(int, char*[]) { return 0; } I believe that <cstring> from libcomo 31 is culprit here. I deployed simple temporary solution and asked Comeau Computing for support. B.

JOAQUIN LOPEZ MU?Z wrote:
This post caught nobody's attention two days ago, but the error is still showing...
Ok, fixed now. Results are available in usual place http://www.meta-comm.com/engineering/boost-regression/developer/summary.html Please note that I deployed temporary fix on cstring from libcomo 31. Comeau Computing may deliver different solution, and when it happens I'm going to deploy it. B.

Bronek Kozicki wrote:
Please note that I deployed temporary fix on cstring from libcomo 31. Comeau Computing may deliver different solution, and when it happens I'm going to deploy it.
I have received official fix from Comeau Computing and I'm replacing my temporary solution with it (replacing header file while tests are running may screw results, be warned). I'm attaching official cstring file, so others may reproduce regression tests on Comeau compiler with libcomo. B. #ifndef _COMO_CSTRING #define _COMO_CSTRING #include <string.h> namespace std { using ::size_t; using ::memcpy; using ::memmove; using ::strcpy; using ::strncpy; using ::strcat; using ::strncat; using ::memcmp; using ::strcmp; using ::strcoll; using ::strncmp; #ifndef __LCC__ using ::strxfrm; #endif using ::memchr; using ::strchr; using ::strcspn; using ::strpbrk; using ::strrchr; using ::strspn; using ::strstr; using ::strtok; using ::memset; using ::strerror; //using ::strlen; #ifndef __BORLANDC__ extern "C++" inline size_t strlen(const char *arg) { return ::strlen(arg); } #endif } #endif
participants (3)
-
Bronek Kozicki
-
JOAQUIN LOPEZ MU?Z
-
John Maddock