DevHeads.net

Need assihotstance to build ispc snaps

Apology for accidental encryption. I attempt to get a snapshot of ispc
supporting llvm 7.0 which is needed by embree. The compilation failed at
the following line:

rc/main.cpp: In function 'int main(int, char**)':
src/main.cpp:669:19: error: invalid conversion from 'int' to 'Module::OutputFlags' [-fpermissive]
flags |= Module::GeneratePIC;
~~~~~~^~~~~~~~~
src/main.cpp:685:17: error: invalid conversion from 'int' to 'Module::OutputFlags' [-fpermissive]
flags |= Module::GenerateFlatDeps;
~~~~~~^~~~~~~~~
src/main.cpp:688:62: error: invalid conversion from 'int' to 'Module::OutputFlags' [-fpermissive]
flags |= Module::GenerateMakeRuleForDeps | Module::OutputDepsToStdout;
^~~~~~~~~~~~~~~~~~
src/main.cpp:773:13: error: invalid conversion from 'int' to 'Module::OutputFlags' [-fpermissive]
flags &= ~Module::OutputDepsToStdout;
~~~~~~^~~~~~~~~~
src/main.cpp:787:13: error: invalid conversion from 'int' to 'Module::OutputFlags' [-fpermissive]
flags &= Module::GenerateMakeRuleForDeps;
~~~~~~^~~~~~~~~
At global scope:

Notice the line below from the build:

cc1plus: error: unrecognized command line option '-Wno-deprecated-register' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-c99-extensions' [-Werror]
cc1plus: all warnings being treated as errors

What are changed on the last gcc version and which parameters to remove
those errors?

See the copr build which include the spec file for analyzing.

<a href="https://copr-be.cloud.fedoraproject.org/results/luya/ispc-git/fedora-rawhide-x86_64/00820232-ispc/" title="https://copr-be.cloud.fedoraproject.org/results/luya/ispc-git/fedora-rawhide-x86_64/00820232-ispc/">https://copr-be.cloud.fedoraproject.org/results/luya/ispc-git/fedora-raw...</a>

Hopefully someone provides a fix. Thanks in advance,

Luya