Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » fatal error: inter-module optimizations not implemented for C++(fatal error while compiling c++ project)
fatal error: inter-module optimizations not implemented for C++ [message #1815318] Mon, 30 September 2019 09:53 Go to next message
Eclipse UserFriend


I am developing a c++ project in eclipse IDE. When I am compiling the project, I am getting this strange error "fatal error: inter-module optimizations not implemented for C++". I am using gcc-compiler. Mingw Link
Re: fatal error: inter-module optimizations not implemented for C++ [message #1815549 is a reply to message #1815318] Fri, 04 October 2019 11:08 Go to previous message
Eclipse UserFriend
I see you asked this at stackoverflow and got shot down.
Basically because your question is rather vague.
You should supply at least the log showing the error and the command which generated it.

Just guessing, it appears you tried to turn on Link Time Optimization or some variant of it with MinGW that's not supported.
With GCC, this is enabled with the option -flto
If you have it in the compiler/linker flags, removing it may fix your problem.

For more information try:
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html and search for flto in the text
https://caiorss.github.io/C-Cpp-Notes/compiler-flags-options.html
https://en.wikipedia.org/wiki/Interprocedural_optimization
Google "optimization" or "optimization techniques" with and without "GCC" "G++" or "MinGW"

[Updated on: Fri, 04 October 2019 11:20] by Moderator

Previous Topic:Writing an RTOS-Aware Plugin
Next Topic:XMOS xTime, include problem on macOS 10.14
Goto Forum:
  


Current Time: Tue Jun 17 13:06:59 EDT 2025

Powered by FUDForum. Page generated in 0.44540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top