[ros-dev] [ros-diffs] [fireball] 23489: Fix DbgPrint / DbgPrintEx definitions to use PCCHAR instead of PCCH (recent WDK uses PCCHAR). This change fixes compiling.

Alex Ionescu ionucu at videotron.ca
Sat Aug 5 23:24:59 CEST 2006


fireball at svn.reactos.org wrote:
> Author: fireball
> Date: Sun Aug  6 00:57:36 2006
> New Revision: 23489
> 
> URL: http://svn.reactos.org/svn/reactos?rev=23489&view=rev
> Log:
> Fix DbgPrint / DbgPrintEx definitions to use PCCHAR instead of PCCH (recent WDK uses PCCHAR).
> This change fixes compiling.
> 

Um, no, this is the latest definition:

ULONG
__cdecl
DbgPrint (
    __in PCCH Format,
    ...
    );


Why do you think I had changed it in the first place?!

A PCCHAR is *NOT* a const char, it's just typedef char*.

So my change correctly changed the definition to use const char (Because
dbgprint fails if you're not sending a const char), and also allowed
building with the fixed WDKs, and you just reverted that... when you
asked on Google Talk if you could fix it, I assumed you know what you
were doing :)

-- 
Best regards,
Alex Ionescu
Project Lead, TinyKRNL
Kernel-Mode Software Design Engineer, ReactOS


More information about the Ros-dev mailing list