.qc (dot qc) - the group for quake c coders of all denominations. If you make quake one mods and write code in quake c, join our group! I'll try to answer any quake c questions - please post your inquiry in the forums...
Posts | ||
---|---|---|
When compile errors just go berzerk #1 | Locked | |
Thread Options | ||
|
Nov 14 2016 Anchor | |
So, you add a few lines of test code and bang!
What the? This code just compiled perfect, nary a warning out of place. Lets see the code you just cut and paste from another part and changed:
Well. The commented out ifs are fine, we've been doing that for a while. The bprint block was cut and paste from another warning and modified. If you undo the modify, the errors are the same. The last line in that block is 1372. These are the first 3 lines with errors:
Have you found the problem yet? Here is a hint:
Look close at the braces. We have one opening brace and 2 closing braces. This throws the compiler off because it will mis-match braces. When errors cascade like this and many of them occur around brace blocks Many code highlight editors will match braces when you select one. Additional note: the "progs.dat not created" warning is from a bash script that runs the compiler. Good luck coding! |
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.