[cfe-dev] Clang 3.5 Release Pre-Pre-Pre-Announcement

Richard legalize at xmission.com
Wed Jun 4 08:30:50 PDT 2014


In article <CANa4zJryi4eyWDXYwxWViHC6SLOZxKF2pucrdHDFFLnmxKExjg at mail.gmail.com>,
    Yaron Keren <yaron.keren at gmail.com> writes:

> FWIW, I found that clang compiled with Visual C++ in Debug mode too slow,
> for two reasons.
> The first reason was that optimizations are turned off. The second one is
> trickier, if the libraries are Debug, Visual C++ defines _DEBUG [...]

Ah yes, I remember.  Using the release built clang libraries the headers
end up doing different things because _DEBUG is defined in your
project and not defined when the libraries were compiled.

So this is another wrinkle that is specific to clang and not the CRT.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list