c++ - [bug]
- Matthew (20/20) Dec 14 2005 Compiler gives:
- Matthew (28/46) Dec 14 2005 Forgot the code
- Walter Bright (7/30) Dec 19 2005 I can't debug an example that works fine!
- Matthew (1/3) Dec 20 2005 That's a bit tough when the compiler doesn't give any context. ;-(
Compiler gives: dmc -D_DEBUG -c -wx -Ae -Ar -DWIN32 -DSTLSOFT_UNITTEST -D_STLSO FT_COMPILE_VERBOSE -IH:\STLSoft\Releases\1.8.x\STLSoft\include -IH:\STLSo ft\Releases\1.8.x\STLSoft\include\inprogress -o.\rangelib.unittest. 0.obj ..\..\rangelib\unittest.0.cpp Digital Mars C/C++ 8.45.1 Standard library is STLport H:\STLSoft\Releases\1.8.x\STLSoft\include\stlsoft_meta.h(704) : Error: ambiguous reference to symbol Had: stlsoft::has_value_type_function(...) and: stlsoft::has_value_type_function(const volatile value_typeT*) --- errorlevel 1 --- errorlevel 1 The included file, an extract from stlsoft/meta.hpp, compiles fine. Because there's no context given to the compilation error above, there's precious little chance of making an informed guess as to the problem, without spending a huge amount of time chopping down. I don't have that time in the foreseeable future, so STLSoft's going to have to ship with DMC++ not properly supported, or with a reduced set of verified components. :-( Any chance that more context can be put into compiler error messages?
Dec 14 2005
Forgot the code "Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:dnqcks$22bu$1 digitaldaemon.com...Compiler gives:dmc -D_DEBUG -c -wx -Ae -Ar -DWIN32 -DSTLSOFT_UNITTEST -D_STLSOFT_COMPILE_VERBOSE -IH:\STLSoft\Releases\1.8.x\STLSoft\include -IH:\STLSoes\1.8.x\STLSoft\include\inprogress -o.\rangelib.unittest.0.obj ..\..\rangelib\unittest.0.cpp Digital Mars C/C++ 8.45.1 Standard library is STLport H:\STLSoft\Releases\1.8.x\STLSoft\include\stlsoft_meta.h(704) : Error: ambiguous reference to symbol Had: stlsoft::has_value_type_function(...) and: stlsoft::has_value_type_function(const volatile value_typeT*) --- errorlevel 1 --- errorlevel 1 The included file, an extract from stlsoft/meta.hpp, compiles fine. Because there's no context given to the compilation error above, there's precious little chance of making an informed guess as to the problem, without spending a huge amount of time chopping down. I don't have thattimein the foreseeable future, so STLSoft's going to have to ship with DMC++notproperly supported, or with a reduced set of verified components. :-( Any chance that more context can be put into compiler error messages?begin 666 dmtypedetectionbug.cpp M.PT*='EP961E9B!S=')U8W0 >R!C:&%R(&%R6S)=.R!](" ("!T=V]?='EP M92!4/ T*='=O7W1Y<&4 :&%S7W9A;'5E7W1Y<&5?9G5N8W1I;VXH='EP96YA M;64 5#HZ=F%L=65?='EP92!C;VYS="!V;VQA=&EL92 J*3L-" T*=&5M<&QA M=&EC(%0 (" =#L-"G!U8FQI8SH-" T*(" (&5N=6T >R!V86QU92 ]('-I M>F5O9BAH87-?=F%L=65?='EP95]F=6YC=&EO;CQ4/B P*2D /3T <VEZ96]F M=65?='EP90T*>PT*<'5B;&EC. T*"71Y<&5D968 :6YT"79A;'5E7W1Y<&4[ M"6AA<U]V86QU95]T>7!E/$-L87-S7W=I=&A?=F%L=65?='EP93XZ.G9A;'5E M"6AA<U]V86QU95]T>7!E/$-L87-S7W=I=&AO=71?=F%L=65?='EP93XZ.G9A ` end
Dec 14 2005
"Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:dnqcks$22bu$1 digitaldaemon.com...Compiler gives: dmc -D_DEBUG -c -wx -Ae -Ar -DWIN32 -DSTLSOFT_UNITTEST -D_STLSO FT_COMPILE_VERBOSE -IH:\STLSoft\Releases\1.8.x\STLSoft\include -IH:\STLSo es\1.8.x\STLSoft\include\inprogress -o.\rangelib.unittest. 0.obj ..\..\rangelib\unittest.0.cpp Digital Mars C/C++ 8.45.1 Standard library is STLport H:\STLSoft\Releases\1.8.x\STLSoft\include\stlsoft_meta.h(704) : Error: ambiguous reference to symbol Had: stlsoft::has_value_type_function(...) and: stlsoft::has_value_type_function(const volatile value_typeT*) --- errorlevel 1 --- errorlevel 1 The included file, an extract from stlsoft/meta.hpp, compiles fine.I can't debug an example that works fine!Because there's no context given to the compilation error above, there's precious little chance of making an informed guess as to the problem, without spending a huge amount of time chopping down. I don't have that time in the foreseeable future, so STLSoft's going to have to ship with DMC++ not properly supported, or with a reduced set of verified components. :-(The first thing I'd try is delete all the code that is lexically after the error happens. Next, compile with -e -l, and see if the error can be reproduced in the .lst file. That at least cuts it down to one file.Any chance that more context can be put into compiler error messages?I'd look at who is calling has_value_type_function.
Dec 19 2005
That's a bit tough when the compiler doesn't give any context. ;-(Any chance that more context can be put into compiler error messages?I'd look at who is calling has_value_type_function.
Dec 20 2005