Skip to content
Snippets Groups Projects
  • Bertrand Bellenot's avatar
    6b925220
    Tell the compiler to ignore the following warnings: · 6b925220
    Bertrand Bellenot authored
    c:\users\bellenot\root\test\stressIterators.h(12) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
            c:\users\bellenot\root\test\stressIterators.h(27) : see reference to class template instantiation 'SEnumFunctor<T>' being compiled
    c:\users\bellenot\root\test\stressIterators.h(32) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(82) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(97) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(117) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(151) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    stressIterators.cxx(78) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    
    Visual C++ does not implement checked exceptions, the warning C4290 is just informing that other exceptions may still be throw from these functions and can be ignored.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@33103 27541ba8-7e3a-0410-8455-c3a389f83636
    6b925220
    History
    Tell the compiler to ignore the following warnings:
    Bertrand Bellenot authored
    c:\users\bellenot\root\test\stressIterators.h(12) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
            c:\users\bellenot\root\test\stressIterators.h(27) : see reference to class template instantiation 'SEnumFunctor<T>' being compiled
    c:\users\bellenot\root\test\stressIterators.h(32) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(82) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(97) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(117) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    c:\users\bellenot\root\test\stressIterators.h(151) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    stressIterators.cxx(78) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
    
    Visual C++ does not implement checked exceptions, the warning C4290 is just informing that other exceptions may still be throw from these functions and can be ignored.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@33103 27541ba8-7e3a-0410-8455-c3a389f83636