Menu

#315 Error in define of WinSvc.h

component_package
closed-fixed
2003-03-11
2003-03-11
No

Hi, my name is Fabricio, I'am programers in Visual
C++, I am porting my code to MinGw.
The define of WinSvc.h of Microsoft C++ is:
#define SERVICE_NO_CHANGE 0xffffffff

In MinGw is:
#define SERVICE_NO_CHANGE (-1)

When compile my program receive a Warning:
warning: passing negative value `-1' for argument
passing 2 of ... many times ....
I have changed the .h of wingw (i'am sorry)

Thanks' ...

My languaje is Spanish .... i'am sorry for my bad
english .....

Discussion

  • Earnie Boyd

    Earnie Boyd - 2003-03-11
    • status: open --> closed-fixed
     
  • Earnie Boyd

    Earnie Boyd - 2003-03-11

    Logged In: YES
    user_id=15438

    The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and
    mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically
    merged into the MinGW CVS tree. If you still find problems then please open a new report.