I actually need to check the compiler version for ABI compatibility reasons. I download my third party libraries via CMake script and I check the current compiler version so I know which DLLs to download :P<div><br></div><div>
Unfortunately C++ name mangling is not standardized so this is necessary.</div><div><br></div><div>Also it is quite possible to have the pimpl pattern in my code base, designed in such a way that different CPP files are included in my targets depending on compiler version. It's a way to abstract away platform-specific and compiler-specific implementation details (Perhaps I use MSVC-specific extensions in my pimpl class, or maybe I do some inline assembler to overcome a specific optimization failure or inefficiency in older versions of MSVC).</div>
<div><br></div><div>Need more examples? :P<br clear="all"><div><br></div><div>---------</div>Robert Dailey<br>
<br><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 3:25 PM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/3/5 Robert Dailey <<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>>:<br>
<div class="im">> The docs aren't updated to reflect this so I just wanted to make sure.<br>
<br>
</div>Patch for documentation may be accepted as well :-]<br>
<div class="im"><br>
> I didn't have time to run through the source code (you Linux people and your<br>
> fancy 'git grep' commands :P )<br>
<br>
</div>You Windows people and your need to check compiler version before trying<br>
to compile a portable piece of code :P !!<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Erk<br>
Le gouvernement représentatif n'est pas la démocratie --<br>
<a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a><br>
</font></span></blockquote></div><br></div>