q3asm gives me this error for g_client.c:
g_client:7484 MAX_LINE_LENGTH
It just fills up the screen with this error starting at line number 7484 and each error for a next line. It just keeps on going, had to CTRL-C it. Anyone got any idea what's wrong with the file? Line 7484 obviously doesn't exist in the c code file, maybe in an obj file or something, but that's binary shizzle.
q3asm: max_line_length
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: q3asm: max_line_length
Try the ioquake3 q3asm, it contains a couple of bug fixes.
EDIT: Make that a lot of bug fixes.
EDIT: Make that a lot of bug fixes.
Code: Select all
$ # number of changed lines compared to stock q3asm
$ git diff -w -U0 5406eab q3asm.c | wc -l
1185
Re: q3asm: max_line_length
I was going to try your hint of using the ioQuake q3asm after I had finished something up, but now the error has magically disappeared 

Re: q3asm: max_line_length
Happened to me once more. This time I fixed it by putting a blank line at the end of the file it was complaining about it. I'm not sure if that is actually what fixed it, but it worked.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: q3asm: max_line_length
Next time save the file. If it happens with ioq3asm too, it's a bug that should be fixed.
Re: q3asm: max_line_length
Haven't tried with ioq3asm. I'll see if I can reproduce it with q3asm and see if it happens with ioq3asm as well...
Re: q3asm: max_line_length
Here's a version of g_target.c that causes the error.
Haven't tried it with the ioQuake version of q3asm. Adding a blank line to the end of the file fixes the problem.
Haven't tried it with the ioQuake version of q3asm. Adding a blank line to the end of the file fixes the problem.