Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Redundant semicolon on extern "C" usage

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
g0dpEUmE Posted - Apr 11 2026 : 08:13:57 AM
VA's inserting pair brackets function has a flaw of adding a semicolon at the end of extern "C" specification, making it: extern "C" {}; instead of common: extern "C" {}. Hope this can be improved.



3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 13 2026 : 12:55:37 PM
VA does check in other places if the semi-colon is needed or not, so I have put in a feature request for this:

case=166165
g0dpEUmE Posted - Apr 13 2026 : 09:00:26 AM
quote:
Originally posted by feline

Have you considered setting up a VA Snippet for this? Something like shortcut "ext" and inserting the line:

extern "C" {}

Quick and simple, and something you can do without waiting for a code change in VA.



I'm doing so. If this can be improved later then that's better. Thanks.
feline Posted - Apr 13 2026 : 08:40:16 AM
Have you considered setting up a VA Snippet for this? Something like shortcut "ext" and inserting the line:

extern "C" {}

Quick and simple, and something you can do without waiting for a code change in VA.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000