Problems compiling fltKernel.h (May 2004) with C++

When compiling for C++ based code there is a bunch of warnings
(4510,4512,4610) that are generated for
FLT_CALLBACK_DATA and FLT_RELATED_OBJECTS structures declared in
fltKernel.h. Those warnings are caused by CONST modifiers set up for
some data members of these structures. Although I can disable warnings
using pragmas but… :slight_smile:

Vladimir

I just shoot off a build right from the src\filesys of the new beta, the rootlevel log did not show any warning, also the minifilters i build earlier did not show any warning, usually I patch the general compiler with latest sev.pack, but then this pkg has its own !!.

-pro

I’m not sure what are levels of those warnings that I’ve reported. I
always compile my code with /W4 /WX (last switch - pure psychology :slight_smile:
As far as I can tell these warnings are results of changes just recently
introduced in fltmgr structures. I install it from the CD distributed at
May’s plugfest.

-----Original Message-----
From: Programmers Society Prokash Sinha [mailto:xxxxx@garlic.com]
Sent: Friday, May 28, 2004 11:52 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Problems compiling fltKernel.h (May 2004) with C++

I just shoot off a build right from the src\filesys of the new beta, the
rootlevel log did not show any warning, also the minifilters i build
earlier did not show any warning, usually I patch the general compiler
with latest sev.pack, but then this pkg has its own !!.

-pro


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Okay, that might be it. The latest might be bit more recent, also I didn’t turn on or off any extras, just shoot off build -cef. Will have to look at those W(warning flags). But so far so good !

-pro

Just disable warnings.
DDK headers are known to spit lots of warnings with -W4, even with C.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Vladimir Chtchetkine
To: Windows File Systems Devs Interest List
Sent: Friday, May 28, 2004 9:15 PM
Subject: [ntfsd] Problems compiling fltKernel.h (May 2004) with C++

When compiling for C++ based code there is a bunch of warnings (4510,4512,4610) that are generated for

FLT_CALLBACK_DATA and FLT_RELATED_OBJECTS structures declared in fltKernel.h. Those warnings are caused by CONST modifiers set up for some data members of these structures. Although I can disable warnings using pragmas but. :slight_smile:

Vladimir


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com