C4530 ...EH/sc error code

Was working on “Hello World” project, after running are TripleX program, I got this warning “C4530: C++ exception handler used, but inwind semantics are not enabled. Specify /EHsc”
Dont know how to fix, code is the same as instructed. Except the “std::cout” are in different colors.
“Hello World!” does print when code is ran, just the warning is always given when compling the code.

A couple of things.

1: You post an unreal question in the unity section.

2: The C4530 is just a warning. If everything worked then I think it’s OK. If you run “cl TripleX.cpp /EHsc” all will be good.

Good luck.

I’ve just moved the thread to the correct subforum. :slight_smile:

Oh, sorry. This is my first comment and still new to the course. I’ll have to figure out how do posts under the related “unreal” lesson.

thanks for the tip, I’ll try that appreciate the help!

Thanks! @Nina… it’s my first time post a question, I guess it went to the wrong place.

Glad to help out.

1 Like

Don’t worry about it. That happens from time to time. I just dropped a line so you know what happened to your thread. :slight_smile:

See also:

Privacy & Terms