See Cython and C++ compiler console output in editable install #546
-
I have a project that uses Cython and C++. Is it possible to see the console output from Cython and the C++ compiler? It often contains helpful warning messages. It's not shown in the console (even in verbose mode) and I couldn't find it in any of the logs in the build directory. For reference, I removed the types from a loop variable in a Cython file. I know Cython issues a warning in that case, but this image is all the output that is shown. ![]() This is similar to discussion 505. In that case, the person was looking for the compiler flags, while I would like the output. Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
Hi @joshayers, the actual compilation is done by
This should show you output like this:
|
Beta Was this translation helpful? Give feedback.
-
I suspect that the |
Beta Was this translation helpful? Give feedback.
-
This use case is not affected. The warnings are suppressed only in the compilation of the generated C or C++ source code, not during the compilation of all the source code involved in producing a build artifact.
I don't know how such an option would look like. Meson does not expose any facility to set compilation options per source file.
I thought that this could be the solution. However, this would not be a backward compatible change: project that use @dcbaker @eli-schwartz opinions? |
Beta Was this translation helpful? Give feedback.
mesonbuild/meson#12597