
Hi, Is there any good reason that VC++ is set to warn about ADL by default? Otherwise, we should put the equivalent of <toolset>msvc <cxxflags>/wd4675 into the main configuration for those compilers -Thorsten -- Thorsten Ottosen ---------------------------- www.dezide.com http://www.cs.aau.dk/index2.php?content=Research/mi www.boost.org www.open-std.org/JTC1/SC22/WG21/

At 17:34 2005-05-20, you wrote:
Hi,
Is there any good reason that VC++ is set to warn about ADL by default?
Otherwise, we should put the equivalent of <toolset>msvc <cxxflags>/wd4675
into the main configuration for those compilers
vc-7_1 (details availalbe from the RudbekAssociates link on the regression tests) compiled manually with /W4: int abc (int x) {return x;} double abc(double y) {return y;} int main() { int j = abc(3); double r = abc(3.14); return j + r; } ------ Build started: Project: Thorsten, Configuration: Debug Win32 ------ Compiling... Thorsten.cpp c:\Projects\Programming\BoostEFnetPeople\Thorsten\Thorsten.cpp(8) : warning C4244: 'return' : conversion from 'double' to 'int', possible loss of data Build log was saved at "file://c:\Projects\Programming\BoostEFnetPeople\Thorsten\Debug\BuildLog.htm" Thorsten - 0 error(s), 1 warning(s) I see no warnings about ADL ---------------------- Done ---------------------- Build: 1 succeeded, 0 failed, 0 skipped
-Thorsten
-- Thorsten Ottosen ---------------------------- www.dezide.com http://www.cs.aau.dk/index2.php?content=Research/mi www.boost.org www.open-std.org/JTC1/SC22/WG21/
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

"Victor A. Wagner Jr." <vawjr@rudbek.com> wrote in message news:6.2.1.2.2.20050520184437.04aea410@mail.rudbek.com... | At 17:34 2005-05-20, you wrote: | >Hi, | > | >Is there any good reason that VC++ is set to warn about | >ADL by default? | > | >Otherwise, we should put the equivalent of | > <toolset>msvc <cxxflags>/wd4675 | > | >into the main configuration for those compilers | | vc-7_1 (details availalbe from the RudbekAssociates link on the regression | tests) | compiled manually with /W4: try compiling one of the pointer container tests...you'll get a 1000 line warning about ADL. -Thorsten

At 04:03 2005-05-21, you wrote:
"Victor A. Wagner Jr." <vawjr@rudbek.com> wrote in message news:6.2.1.2.2.20050520184437.04aea410@mail.rudbek.com... | At 17:34 2005-05-20, you wrote: | >Hi, | > | >Is there any good reason that VC++ is set to warn about | >ADL by default? | > | >Otherwise, we should put the equivalent of | > <toolset>msvc <cxxflags>/wd4675 | > | >into the main configuration for those compilers | | vc-7_1 (details availalbe from the RudbekAssociates link on the regression | tests) | compiled manually with /W4:
try compiling one of the pointer container tests...you'll get a 1000 line warning about ADL.
yeah, my brain musta have been asleep, checking now
-Thorsten
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

"Thorsten Ottosen" <nesotto@cs.auc.dk> writes:
Hi,
Is there any good reason that VC++ is set to warn about ADL by default?
Otherwise, we should put the equivalent of <toolset>msvc <cxxflags>/wd4675
into the main configuration for those compilers
Done for the vc-7.1 toolsets in BBv1. I don't believe vc-8.0 issues that warning anyway (right?) -- Dave Abrahams Boost Consulting www.boost-consulting.com

"David Abrahams" <dave@boost-consulting.com> wrote in message news:ufyw3frk3.fsf@boost-consulting.com... | "Thorsten Ottosen" <nesotto@cs.auc.dk> writes: | | > Hi, | > | > Is there any good reason that VC++ is set to warn about | > ADL by default? | > | > Otherwise, we should put the equivalent of | > <toolset>msvc <cxxflags>/wd4675 | > | > into the main configuration for those compilers | | Done for the vc-7.1 toolsets in BBv1. I don't believe vc-8.0 issues | that warning anyway (right?) thanks. as for vc8, then I don't know. -Thorsten
participants (3)
-
David Abrahams
-
Thorsten Ottosen
-
Victor A. Wagner Jr.