[Bug 30397] Multiple applications need support for NtSetInformationFile class FileDispositionInformation (Cygwin installer, Stylizer 5.x Visual CSS editor, Spoon Studio 2011 (ex Xenocode) application sandboxing scheme)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 15 09:38:05 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=30397

--- Comment #4 from OmegaPhil at startmail.com ---
Thanks Dmitry for the patches - I have just patched v1.7.30, and while they
apply cleanly, I get a build failure (without them I can build fine):

=========================================================================

make[1]: Entering directory
'/home/omega/files/source/wine/wine-1.7.30/build/dlls/aclui'
gcc -c -o aclui_main.o ../../../dlls/aclui/aclui_main.c -I.
-I../../../dlls/aclui -I../../include \
  -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe
-fno-strict-aliasing \
  -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op
-gdwarf-2 \
  -gstrict-dwarf -fno-omit-frame-pointer -g -O2
In file included from ../../server/file.c:51:0:
../../server/file.c:733:14: warning: ‘struct set_file_info_reply’ declared
inside parameter list
 DECL_HANDLER(set_file_info)
              ^
../../server/request.h:34:63: note: in definition of macro ‘DECL_HANDLER’
     void req_##name( const struct name##_request *req, struct name##_reply
*reply )
                                                               ^
../../server/file.c:733:14: warning: its scope is only this definition or
declaration, which is probably not what you want
 DECL_HANDLER(set_file_info)
              ^
../../server/request.h:34:63: note: in definition of macro ‘DECL_HANDLER’
     void req_##name( const struct name##_request *req, struct name##_reply
*reply )
                                                               ^
../../server/file.c:733:14: warning: ‘struct set_file_info_request’ declared
inside parameter list
 DECL_HANDLER(set_file_info)
              ^
../../server/request.h:34:63: note: in definition of macro ‘DECL_HANDLER’
     void req_##name( const struct name##_request *req, struct name##_reply
*reply )
                                                               ^
../../server/file.c: In function ‘req_set_file_info’:
../../server/file.c:737:52: error: dereferencing pointer to incomplete type
     if ((file = get_file_obj( current->process, req->handle, DELETE )))
                                                    ^
../../server/file.c:739:42: error: dereferencing pointer to incomplete type
         set_fd_disposition( file->fd, req->unlink );
                                          ^
../../server/file.c:747:70: error: dereferencing pointer to incomplete type
         if ((file = (struct file *)get_dir_obj( current->process, req->handle,
DELETE )))
                                                                      ^
../../server/file.c:749:46: error: dereferencing pointer to incomplete type
             set_fd_disposition( file->fd, req->unlink );
                                              ^
Makefile:366: recipe for target 'file.o' failed
make[1]: *** [file.o] Error 1
make[1]: Leaving directory
'/home/omega/files/source/wine/wine-1.7.30/build/server'
Makefile:21326: recipe for target 'server' failed
make: *** [server] Error 2

=========================================================================

Can you still build at your end? I'm interested in seeing if these patches
solve the Cygwin Installer installation failures (which appear to be some sort
of renaming problem).

Thanks

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list