Then the principle of a minimal reproducible example still holds. You have to remove stuff until your program compiles. And then remove different stuff until your program compiles again. And you have to do that until you can't remove anything from your program without making your program compile.
You still need to make a minimal complete example. Get it down to just the single line that doesn't compile and then ask about that line. Make sure your code contains nothing unrelated.
13
u/Butterferret12 May 17 '20
Interesting read. I will say that half the time I'm on stack overflow it's because my code doesn't compile and I have no idea why.