Boost logo

Boost :

Subject: [boost] patch for Intel compiler for new lib appeared in boost 1.65 beta
From: Kurkov, Vasiliy A (vasiliy.a.kurkov_at_[hidden])
Date: 2017-08-16 14:28:20


Hi,

I am Vasiliy Kurkov and I'm working as QA engineer in Intel Compiler QA team.

I have tried to build boost libs from 1.65 beta, but I faced the following issue on Windows for new stacktrace lib:

compile-c-c++ bin.v2\libs\stacktrace\build\07984f9e4da2f3b833f7520e2f16f320\windbg_cached.obj

    icl @"bin.v2\libs\stacktrace\build\07984f9e4da2f3b833f7520e2f16f320\windbg_cached.obj.rsp"

windbg_cached.cpp
.\boost/stacktrace/detail/collect_unwind.ipp(17): catastrophic error: cannot open source file "unwind.h"
  #include <unwind.h>
                     ^

compilation aborted for libs\stacktrace\build\..\src\windbg_cached.cpp (code 4)

Environment: Windows 2016 Server + MSVS2017 + Intel Compiler 17.0 or later

I would like to suggested the following patch:

--- 1/boost_1_65_0/boost/stacktrace/safe_dump_to.hpp               2017-08-16 13:37:10.003950000 +0300
+++ 2/boost_1_65_0/boost/stacktrace/safe_dump_to.hpp             2017-08-16 13:38:05.470305000 +0300
@@ -203,7 +203,7 @@
#       else
#           include <boost/stacktrace/detail/safe_dump_posix.ipp>
#       endif
-#       if defined(BOOST_MSVC)
+#       if defined(BOOST_MSVC) || defined(BOOST_INTEL)
#           include <boost/stacktrace/detail/collect_msvc.ipp>
#       else
#           include <boost/stacktrace/detail/collect_unwind.ipp>

Thank you in advance.

--
Regards,
  Vasiliy
--------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk