Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 14:40:56 +0000



Post From: is it ok to put a semicolon ';' behind the SCDLLName statement?

[2024-02-29 17:46:14]
User43 - Posts: 101
I'm using Emacs. With Eglot based on clangd.

And yes it appears it compiles fine, just wanted to make sure I don't miss anything.

Probably I should have phrased my question the other way around, why is the statement compiling with out the ; behind it.

Meanwhile I found that the SCDLLName is a macro, and looking up the macro its content is including the ; on two lines it represents.
So I guess that's why its working.
The macro " SCDLLName("whatever") " is replaced by its definition before the compiler gets to see it.

Maybe a bit of a lack in my Emacs config that this macro is not fully recognized.

Anyhow many thanks for your feedback.