Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Zoe‭

Type On... Excerpt Status Date
Comment Post #293079 "Im worried that if I block proxies/vpns Ill also stop real users" - it will. Lots of people use VPNs for a large number of reasons (including privacy and circumventing censorship). Blocking a VPN won't be enough either, because a good chunk of internet spambots are computers owned by regular people ...
(more)
9 days ago
Comment Post #292535 > We're already using -Wswitch, the problem is that nothing triggers for Clang when all of the enum's cases are accounted for in the switch Yeah, you'd have to combine `-Wswitch` and `-Wreturn-type` for full coverage. Again, not optimal, but it is what it is right now. Would definitely be nice...
(more)
3 months ago
Edit Post #292535 Initial revision 3 months ago
Answer A: How can I get the same "not all control paths return a value" behaviour across Clang and MSVC?
You can't - but there are some workarounds. Based on two answers from the VS forums (1 (2020), 2 (2023)), this behaviour is by design, and it doesn't appear to be configurable. Aside MSVC, GCC works the same way: ``` ❯ g++ test6.cpp -Werror=return-type test6.cpp: In function ‘int toNum(Lett...
(more)
3 months ago