Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7679 Discussions

Feature request: improve error messages: Option cannot change across modules: 0

Marián__VooDooMan__M
New Contributor II
140 Views
2>  Option cannot change across modules: 0
2>xilink: : error #10014: problem during multi-file optimization compilation (code 1)
2>xilink: : error #10014: problem during multi-file optimization compilation (code 1)

This error message is not meaningful, nor useful.

The problem is when I link statically *.lib that was compiled with offload constructs set to "None" and *.exe was compiled with "Optional".

The compiler/linker should report WHICH module(s) contains different/incompatible options. Either two *.obj's, or *.lib. It took me like 2 hours until I figured out what's wrong.

0 Kudos
1 Reply
Marián__VooDooMan__M
New Contributor II
140 Views

any update on this issue?

Reply