[ros-bugs] [Bug 3590] New: i8042prt fails to build when debug enabled

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sat Jul 26 05:00:58 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3590

           Summary: i8042prt fails to build when debug enabled
           Product: ReactOS
           Version: TRUNK
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Drivers
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: gerard.gatineau at laposte.net
         QAContact: ros-bugs at reactos.org


revision 34785 + DBK+KDBG

To trace my bug 3310 (boot failure in real HW) , I activated debug function in
i8042prt driver by uncommenting in keyboard.c file

/* Debug stuff */
define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))


Make clean fails with following error :

D:\Reactos\reactos>make i8042prt
[CC]       drivers\input\i8042prt\createclose.c
[CC]       drivers\input\i8042prt\i8042prt.c
[CC]       drivers\input\i8042prt\keyboard.c
drivers\input\i8042prt\keyboard.c:35: error: expected declaration specifiers or
'...' before '(' token
drivers\input\i8042prt\keyboard.c:35: error: expected declaration specifiers or
'...' before '(' token
drivers\input\i8042prt\keyboard.c:37: error: 'define' declared as function
retur
ning a function
drivers\input\i8042prt\keyboard.c:37: error: 'define' declared as function
retur
ning a function
drivers\input\i8042prt\keyboard.c:37: error: 'define' declared as function
retur
ning a function
cc1.exe: warnings being treated as errors
drivers\input\i8042prt\keyboard.c:37: warning: return type defaults to 'int'
drivers\input\i8042prt\keyboard.c: In function 'define':
drivers\input\i8042prt\keyboard.c:41: error: expected '=', ',', ';', 'asm' or
'_
_attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:79: error: expected '=', ',', ';', 'asm' or
'_
_attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:105: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:120: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:170: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:209: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:292: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:336: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:410: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:512: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:724: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:753: error: expected '=', ',', ';', 'asm' or
'
__attribute__' before '{' token
drivers\input\i8042prt\keyboard.c:35: error: parameter name omitted
drivers\input\i8042prt\keyboard.c:861: error: expected '{' at end of input
mingw32-make: *** [obj-i386\drivers\input\i8042prt\keyboard_i8042prt.o] Error 1

D:\Reactos\reactos>


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list