[Bug 3849] New: cl_input.c - const declaration in wrong order

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Nov 9 22:08:49 EST 2008


http://bugzilla.icculus.org/show_bug.cgi?id=3849

           Summary: cl_input.c - const declaration in wrong order
           Product: Quake 3
           Version: SVN HEAD
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Sound
        AssignedTo: zakk at icculus.org
        ReportedBy: monk at rq3.com
         QAContact: quake3-bugzilla at icculus.org


cl_input.c, the lines 785 and 784 should be swapped.  The line starting with
"const char *ptr" should appear before the line starting with
"clc.voipTarget1".  zinx from IRC tells me that it's some C++/C99 assumption
about out-of-order variable declaration or some such tomfoolery.

I ran into this while trying to get USE_VOIP working with Visual Studio 2005.

I will attach a diff that I hope will work.


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list