Error: command-line error: exception handling option can be used only when compiling C++ - by John Ziobro

Status : 

 


14
0
Sign in
to vote
ID 1623363 Comments
Status Closed Workarounds
Type Bug Repros 9
Opened 8/3/2015 12:48:18 PM
Access Restriction Public

Description

With VS 2015 a kerenl mode driver project will see the Intellisense squiggle at the first column of the first line of any .C file in the project even if that file is empty.  All Intellisense info after that is absent in the .C source.
Sign in to post a comment.
Posted by Virendra Arya on 10/6/2015 at 2:15 AM
Is their any workaround till we get fix in update 1?
Posted by 0x72656400 on 8/26/2015 at 11:45 AM
very annoying! when? when? when?
Posted by Microsoft on 8/19/2015 at 3:32 PM
IntelliSense for C mode is fine for the regular case, but for /kernel mode it's indeed broken.
This will be fixed in the upcoming VS 2015 Update 1.
Posted by Microsoft on 8/6/2015 at 11:21 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If you require immediate assistance with this issue, please contact product support at <http://support.microsoft.com/oas/default.aspx?prid=15694>.
Posted by Yurui Zhou on 8/6/2015 at 1:50 PM
Same here. Very annoying!
Posted by Alex.Covecube on 8/4/2015 at 11:10 AM
Yes, same here, very annoying.

The exact error from intellisense is:
Severity    Code    Description    
Error (active)        command-line error: exception handling option can be used only when compiling C++    

C++ exception handling is disabled and the code builds fine.

Seems like intellisense may be completely broken for C in VS 2015.