Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
Qt Creator 3.1.0-beta
-
Ubuntu x64 12.04
gcc 4.6.3
Cuda compilation tools, release 5.0, V0.2.1221
Description
I use Qt Creator in a CMake based CUDA project.
While building works fine, there is one flaw:
CUDA files are compiled using NVIDIA's nvcc compiler, which produces warnings and error messages in a different format than gcc does.
filename:linenum:column: status: message
example:
test.cpp:3:6: warning: unused variable ‘test’
filename(linenum): status: message
example
test.cu(3): warning: variable "test" was declared but never referenced
When GnuMakeParser parses the output of nvcc, it interprets the message incorrect, e.g. in the above example the filename of the file is assumed to be test.cu(3), which of course does not exist.
Now this wrong parsing leads to the fact that I can't click on the error / warning message in the issue list in Qt Creator, because that wrong filename cannot be found.
A way to solve this issue could be to change the m_makefileError regular expression in gnumakeparser.cpp and add support for line numbers in parentheses.
What do you think?
Attachments
Issue Links
- relates to
-
QTCREATORBUG-23113 nvcc support
- Closed
-
QTCREATORBUG-13202 Issue pane CUDA-NVCC not linked to editor
- Closed