Boost C++ Libraries: Ticket #12403: wave: #include with an empty file causes a crash under Windows https://svn.boost.org/trac10/ticket/12403 <p> If a file included with #include is processed by boost wave, it will crash with an access violation under Windows. It doesn't appear to crash under Linux, though it could still be an issue that just isn't bad enough to bring down the whole system. </p> <p> The following is an example: </p> <div class="wiki-code"><div class="code"><pre><span class="cp">#include</span> <span class="cpf">&quot;Empty.h&quot;</span><span class="cp"></span> <span class="kt">int</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span> <span class="k">return</span> <span class="mi">0</span><span class="p">;</span> <span class="p">}</span> </pre></div></div><p> Note that Empty.h must be <em>completely</em> empty, including no terminating newline. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12403 Trac 1.4.3 anonymous Sat, 20 Aug 2016 22:49:24 GMT <link>https://svn.boost.org/trac10/ticket/12403#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12403#comment:1</guid> <description> <p> For some additional info, this was with Visual Studio 2015. Additionally, it doesn't crash in debug, but does crash on release. </p> </description> <category>Ticket</category> </item> </channel> </rss>