▲ | quietbritishjim 4 days ago | ||||||||||||||||
Do you just meant an attempt to include a file path that couldn't be found? That's not a correct usage of the term "program" – that refers to the binary output of the compilation process, whereas you're taking about the source files that are the input to the compilation. That sounds a bit pedantic but I really didn't understand what you meant. I just checked, and if you attempt to include a file that cannot be found (in the include path, though it doesn't use that exact term) then that's a constraint violation and the compiler is required to stop compilation and issue a diagnostic. Not undefined behaviour. | |||||||||||||||||
▲ | kazinator 4 days ago | parent [-] | ||||||||||||||||
Yes; we are more interested in the other case: it happens to be found. What are the requirements then? | |||||||||||||||||
|