<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Libraries work in Orcas</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx</link><description>Hi! My name is Ale Contenti. I'm a developer on the Visual C++ Libraries Team. I work on the CRT (C Run Time, i.e. strcpy() and printf(), like I always explain to my friends), SCL (Standard C++ Library, i.e. STL and streams), ATL and MFC. I also happen</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Employment Wages &amp;raquo; Visual C++ Team Blog : Libraries work in Orcas</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#8341380</link><pubDate>Fri, 28 Mar 2008 13:16:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8341380</guid><dc:creator>Employment Wages » Visual C++ Team Blog : Libraries work in Orcas</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://employmentwagesblog.info/visual-c-team-blog-libraries-work-in-orcas/"&gt;http://employmentwagesblog.info/visual-c-team-blog-libraries-work-in-orcas/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8341380" width="1" height="1"&gt;</description></item><item><title>re: Libraries work in Orcas</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1642724</link><pubDate>Sat, 10 Feb 2007 15:20:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1642724</guid><dc:creator>Thomahawk</dc:creator><description>&lt;p&gt;The above bug is exactly the same as mine. &amp;nbsp;I'm using a library that's only available in 1 form. &amp;nbsp;I'm not sure whether _SECURE_SCL is 0 or 1 in the library, is there any way to tell?&lt;/p&gt;
&lt;p&gt;Either way, I'm getting internal errors in vectors, even those declared on the stack.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1642724" width="1" height="1"&gt;</description></item><item><title>Any known STL bugs with _SECURE_SCL=0?</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1480405</link><pubDate>Wed, 17 Jan 2007 01:52:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1480405</guid><dc:creator>Andrew Cunningham</dc:creator><description>&lt;p&gt;Visual Studio 2005 ( no service pack applied...)&lt;/p&gt;
&lt;p&gt;I have recompiled all my C++ release build with _SECURE_SCL=0. I am getting access violations when iterating on a &amp;nbsp;std::set with a custom &amp;quot;Compare&amp;quot;. I use various STL classes throughout my code and this access violation happens only on this std::set with the custom compare function ( and &amp;nbsp;_SECURE_SCL=0)&lt;/p&gt;
&lt;p&gt;The application passes QA with &amp;nbsp;_SECURE_SCL=1 in both Debug and Release mode. I can almost be 100% sure all my code that uses this set class has &amp;nbsp;_SECURE_SCL=0 defined as I wrap std::set in a thin layer in my own header where I can #error if &amp;nbsp;_SECURE_SCL!=0&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1480405" width="1" height="1"&gt;</description></item><item><title>One Definition Rule</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1328888</link><pubDate>Wed, 20 Dec 2006 11:52:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1328888</guid><dc:creator>Kaj</dc:creator><description>&lt;p&gt;When setting _SECURE_SCL=0, one must be careful to rebuild all (third party) libraries.&lt;/p&gt;
&lt;p&gt;Otherwise, the linked program may contain several definitions of the same functions; some using _SECURE_SCL=1, some _SECURE_SCL=0. The compiler/linker does not diagnose this. The resulting executable will contain undefined behavior, which obviously may lead to all sorts of interesting situations (e.g. crashes in our case).&lt;/p&gt;
&lt;p&gt;One more issue is that many vendors only provide their libraries compiled with one set of settings (either with _SECURE_SCL 0 or 1). You have to check which one, and if you have builds needing the other, build the library yourself and adjust your build settings to use the correct libraries.&lt;/p&gt;
&lt;p&gt;See also &lt;a rel="nofollow" target="_new" href="http://archives.free.net.ph/message/20060614.141926.e7fb86ae.en.html"&gt;http://archives.free.net.ph/message/20060614.141926.e7fb86ae.en.html&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1328888" width="1" height="1"&gt;</description></item><item><title>Converting to MSBuild</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1226272</link><pubDate>Thu, 07 Dec 2006 02:04:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1226272</guid><dc:creator>Visual C++ Team Blog</dc:creator><description>&lt;p&gt;Hi, My name is Andreea Isac and I’ve been a member of the Visual C++ Libraries team for one year and&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1226272" width="1" height="1"&gt;</description></item><item><title>My homepage</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1122702</link><pubDate>Wed, 22 Nov 2006 18:36:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1122702</guid><dc:creator>Cory</dc:creator><description>&lt;p&gt;Well done!&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://izztqnmu.com/nbfh/eres.html"&gt;http://izztqnmu.com/nbfh/eres.html&lt;/a&gt; | &lt;a rel="nofollow" target="_new" href="http://ynhbjroc.com/fxir/pcpf.html"&gt;http://ynhbjroc.com/fxir/pcpf.html&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1122702" width="1" height="1"&gt;</description></item><item><title>My homepage</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1122700</link><pubDate>Wed, 22 Nov 2006 18:35:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1122700</guid><dc:creator>Fawn</dc:creator><description>&lt;p&gt;Great work!&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://izztqnmu.com/nbfh/eres.html&amp;quot;&amp;gt;My"&gt;http://izztqnmu.com/nbfh/eres.html&amp;quot;&amp;gt;My&lt;/a&gt; homepage&amp;lt;/a&amp;gt; | &amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://ywljdtkb.com/jbpg/qmjo.html&amp;quot;&amp;gt;Please"&gt;http://ywljdtkb.com/jbpg/qmjo.html&amp;quot;&amp;gt;Please&lt;/a&gt; visit&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1122700" width="1" height="1"&gt;</description></item><item><title>My homepage</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#1122697</link><pubDate>Wed, 22 Nov 2006 18:35:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1122697</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Great work!&lt;/p&gt;
&lt;p&gt;[url=&lt;a rel="nofollow" target="_new" href="http://izztqnmu.com/nbfh/eres.html"&gt;http://izztqnmu.com/nbfh/eres.html&lt;/a&gt;]My homepage[/url] | [url=&lt;a rel="nofollow" target="_new" href="http://ycbrlvxn.com/atsb/mqnb.html"&gt;http://ycbrlvxn.com/atsb/mqnb.html&lt;/a&gt;]Cool site[/url]&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1122697" width="1" height="1"&gt;</description></item><item><title>Orcas CTP now includes STL/CLR</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#777836</link><pubDate>Sat, 30 Sep 2006 08:41:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:777836</guid><dc:creator>Visual C++ Team Blog</dc:creator><description>The Visual C++ team is pleased to announce that a public release of STL/CLR has been included in the...&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=777836" width="1" height="1"&gt;</description></item><item><title>re: Libraries work in Orcas</title><link>http://blogs.msdn.com/b/vcblog/archive/2006/08/02/686894.aspx#704507</link><pubDate>Thu, 17 Aug 2006 20:15:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:704507</guid><dc:creator>Pierre B.</dc:creator><description>About my comments of _SECURE_SCL vs. hash_map vs. std::list... I got feedback here internally that the problem only appears if one std::swap() two hash_maps. I've yet to confirm this, but it may point to something for you.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=704507" width="1" height="1"&gt;</description></item></channel></rss>