Boost logo

Boost :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-05-20 20:46:25

At 17:34 2005-05-20, you wrote:
>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
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 ------

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
Thorsten - 0 error(s), 1 warning(s)

I see no warnings about ADL

---------------------- Done ----------------------

     Build: 1 succeeded, 0 failed, 0 skipped

>Thorsten Ottosen
>Unsubscribe & other changes:

Victor A. Wagner Jr.
The five most dangerous words in the English language:
               "There oughta be a law"

Boost list run by bdawes at, gregod at, cpdaniel at, john at