Community
Participate
Working Groups
Build Identifier: 201105021546 My project is mixed language; assembler and c. It contains .inc files (assembler). In the preferences .inc files have status 'locked' in the file types preferences (C/C++->File Types) and are assigned to C Header file. The code analysis module treats these files as C header files instead as assembler include. This results in a lot of errors/warnings from the analysis module reported. I tried to overrule this behaviour in the following way: Add .inc file with type 'assembly sources file' to the list of C/C++ file types --> no success. It should be nice that this can be configured in some kind of way. Reproducible: Always
Marking the bug as works for me, because you can override the file-types on project level. The fact that you cannot do that on workspace-level is a decision made by the platform.
(In reply to comment #1) > Marking the bug as works for me, because you can override the file-types on > project level. > The fact that you cannot do that on workspace-level is a decision made by the > platform. Thanks for the hint to override the file-types on project level. This works indeed; looked at the properties of the inc files and there is now assembler source file mentioned. However, the code analysis module continues analyzing the *.inc files. SO the problems view still displays lots of semantic errors. Furthermore, syntax errors are displayed in the editor side bar for the *.inc files.
(In reply to comment #2) > (In reply to comment #1) > > Marking the bug as works for me, because you can override the file-types on > > project level. > > The fact that you cannot do that on workspace-level is a decision made by the > > platform. This works for me, I had to manually delete the problem markers, though.
Manually deleting the problem markers and a restart of eclipse did work for me as well.