Simon,

Success!  This change worked and I was able to build and install with icc.  Thank you!

I still get a lot of warnings during the build (see below) which seems like configure should work these out ahead of time.  They are easy enough to ignore, but if support for intel is added, it would be nice to have these cleaned up.  For what it's worth, adding support for additional compilers in my experience has greatly improved the quality of library code - it tends to snuff out those bugs that are hard to find on a single compiler.  

If you decide to merge this in, a release patch 2.0.3 would certainly be helpful as well!


Example warnings below:
icc: command line warning #10006: ignoring unknown option '-Wnested-externs'
icc: command line warning #10006: ignoring unknown option '-Wtautological-constant-out-of-range-compare'
icc: command line warning #10006: ignoring unknown option '-Wnested-externs'
icc: command line warning #10006: ignoring unknown option '-Wno-format-nonliteral'
icc: command line warning #10006: ignoring unknown option '-Wno-format-nonliteral'
icc: command line warning #10006: ignoring unknown option '-Wmissing-noreturn'
icc: command line warning #10006: ignoring unknown option '-Wmissing-noreturn'
icc: command line warning #10006: ignoring unknown option '-Wduplicated-cond'
icc: command line warning #10006: ignoring unknown option '-Wduplicated-branches'
icc: command line warning #10006: ignoring unknown option '-Wduplicated-cond'
icc: command line warning #10006: ignoring unknown option '-Wduplicated-branches'
icc: command line warning #10006: ignoring unknown option '-Wlogical-op'
icc: command line warning #10006: ignoring unknown option '-Wlogical-op'
icc: command line warning #10006: ignoring unknown option '-Wno-cast-function-type'
icc: command line warning #10006: ignoring unknown option '-Wno-cast-function-type'
icc: command line warning #10006: ignoring unknown option '-Wnull-dereference'
icc: command line warning #10006: ignoring unknown option '-Wredundant-decls'
icc: command line warning #10006: ignoring unknown option '-Wjump-misses-init'
icc: command line warning #10006: ignoring unknown option '-Wsuggest-attribute=format'
icc: command line warning #10006: ignoring unknown option '-Wtautological-constant-out-of-range-compare'
icc: command line warning #10006: ignoring unknown option '-Wnested-externs'
icc: command line warning #10006: ignoring unknown option '-Wno-format-nonliteral'
icc: command line warning #10006: ignoring unknown option '-Wmissing-noreturn'
icc: command line warning #10006: ignoring unknown option '-Wduplicated-cond'
icc: command line warning #10006: ignoring unknown option '-Wduplicated-branches'
icc: command line warning #10006: ignoring unknown option '-Wlogical-op'
icc: command line warning #10006: ignoring unknown option '-Wno-cast-function-type'
icc: command line warning #10006: ignoring unknown option '-Wnull-dereference'
icc: command line warning #10006: ignoring unknown option '-Wredundant-decls'
icc: command line warning #10006: ignoring unknown option '-Wjump-misses-init'
icc: command line warning #10006: ignoring unknown option '-Wsuggest-attribute=format'
icc: command line warning #10006: ignoring unknown option '-Wtautological-constant-out-of-range-compare'


On Mon, Mar 23, 2020 at 10:14 AM Simon Marchi <simark@simark.ca> wrote:
On 2020-03-23 12:05 p.m., Rocky Dunlap wrote:
> Simon,
>
> Yes, I will be happy to give this a try.  What's the easiest way to get this patch?  (Sorry, I'm less familiar with Gerrit...)
>
> Rocky

You need a babeltrace git repository.  If you don't already have one, you can clone it from here:

  https://github.com/efficios/babeltrace

You can then click the "DOWNLOAD" button on the patch's review page, or press `d` (a keybinding).

Copy the "Checkout" command (the first one) and paste it in your shell (while having the
repository as the current working directory).  You'll then have the code corresponding to
the proposed patch checked out and ready to build.  Note that when you build from the git
repo, you need to run ./bootstrap first, to generate the configure script.

Simon