When it comes to C, the VIM is very clever, so if any bogus header contains the file such as < Code> #include & lt; Stdioo.h & gt; , it complains by bringing up a location list with the following error:
foo.c: 1 | 20 | Fatal Error: stdioo.h: Any such file or directory || The compilation is over.
Which is great, but for whatever reason, give me
& lt; Mpi.h & gt; header file. I know that this is a Vim problem / b I can compile and execute the program with CCM, respectively,
mpicc and
mpiexec it is very annoying when I also pop up the file every time, this happens when all syntax errors are ignored.
Is there any way to ignore this header file, or at least the header files
on your file system where & lt; Mpi.h & gt; Is file located?
Often this is a level below, like /usr/include/mpi/mpi.h and it will be & lt; Mpi / mpi.h & gt;
You may need to add another directory path to your compiler's -i option list, or the VIM path option variant
You will start on the VIM side, you will need to see how to add options to your current setup, if you want to connect to Senkak, Make, There are no indications of the scenes, natallips or whatever they are using.
But there is a simple ' locate mpi.h ' place to start, because you know this is right there.
You said "pop-up" ... are you using synthetic or such? Again, finding the proper path will also help. Obviously knows the proper way to include the mpicc file, you just need to tell VIM (via the 'path' option)
Comments
Post a Comment