Hi everyone,
I am really wondering if there is any reasonable way to integrate the invocation of tracepdb as a post build step.
I tried adding the following line in SOURCES:
POST_BUILD_CMD=TracePDB -f $(OBJ_PATH)$O$(TARGETNAME).pdb -p $(OBJ_PATH)$(O)
Everything kind of works, meaning that the driver builds and all TMF files get generated, but the build utility reports warnings:
8 files compiled - 1 Warning
1 executable built - 6 Warnings
The results are the same regardless of whether I use the OSR DDKBUILD or HOLLISTECH DDKBUILD or the WDK build environment windows.
If I remove the POST_BUILD_CMD then the warnings go away.
It looks like these warnings originate from the tracepdb output messages which look like this:
tracepdb : warning info BNP0000: WPPFMT generating xxx.tmf
The funny thing however is that if I directly execute tracepdb on the command line I get messages that look like this:
tracepdb : info BNP0000: WPPFMT generating xxx.tmf
Now it’s just ‘info’, not ‘warning info’.
So I can’t help wondering where did “warning” come from in the first place.
Does anyone know a valid way to add tracepdb as a post build step? I tried appending “>nul” to the post build command and it kind of remedies the situation, but it makes me feel a little uncomfortable There must be a better way…
Warm Regards
Dimitris