../src/msw/volume.cpp: In static member function ‘static wxArrayString wxFSVolumeBase::GetVolumes(int, int)’:
../src/msw/volume.cpp:398:49: error: no matching function for call to ‘_InterlockedExchange(long int*, int)’
::InterlockedExchange(&s_cancelSearch, FALSE); // reset
^
In
file included from
/usr
/include
/w32api
/windows.
h:70:0,
from ../include/wx/msw/wrapwin.h:65,
from ../src/msw/volume.cpp:45:
/usr/include/w32api/winbase.h:2973:29: note: candidate: long unsigned int _InterlockedExchange(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchange (unsigned long volatile *Target, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2973:29: note: conversion of argument 1 would be ill-formed:
../src/msw/volume.cpp:398:49: error: invalid conversion from ‘long int*’ to ‘volatile long unsigned int*’ [-fpermissive]
::InterlockedExchange(&s_cancelSearch, FALSE); // reset
^
In
file included from
/usr
/include
/w32api
/windows.
h:70:0,
from ../include/wx/msw/wrapwin.h:65,
from ../src/msw/volume.cpp:45:
/usr/include/w32api/winbase.h:2982:32: note: candidate: long long unsigned int _InterlockedExchange(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchange (unsigned __int64 volatile *Target, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:2982:32: note: conversion of argument 1 would be ill-formed:
../src/msw/volume.cpp:398:49: error: invalid conversion from ‘long int*’ to ‘volatile long long unsigned int*’ [-fpermissive]
::InterlockedExchange(&s_cancelSearch, FALSE); // reset
^
../src/msw/volume.cpp: In static member function ‘static void wxFSVolumeBase::CancelSearch()’:
../src/msw/volume.cpp:469:48: error: no matching function for call to ‘_InterlockedExchange(long int*, int)’
::InterlockedExchange(&s_cancelSearch, TRUE);
^
In
file included from
/usr
/include
/w32api
/windows.
h:70:0,
from ../include/wx/msw/wrapwin.h:65,
from ../src/msw/volume.cpp:45:
/usr/include/w32api/winbase.h:2973:29: note: candidate: long unsigned int _InterlockedExchange(volatile long unsigned int*, long unsigned int) <near match>
FORCEINLINE unsigned long InterlockedExchange (unsigned long volatile *Target, unsigned long Value) {
^
/usr/include/w32api/winbase.h:2973:29: note: conversion of argument 1 would be ill-formed:
../src/msw/volume.cpp:469:48: error: invalid conversion from ‘long int*’ to ‘volatile long unsigned int*’ [-fpermissive]
::InterlockedExchange(&s_cancelSearch, TRUE);
^
In
file included from
/usr
/include
/w32api
/windows.
h:70:0,
from ../include/wx/msw/wrapwin.h:65,
from ../src/msw/volume.cpp:45:
/usr/include/w32api/winbase.h:2982:32: note: candidate: long long unsigned int _InterlockedExchange(volatile long long unsigned int*, long long unsigned int) <near match>
FORCEINLINE unsigned __int64 InterlockedExchange (unsigned __int64 volatile *Target, unsigned __int64 Value) {
^
/usr/include/w32api/winbase.h:2982:32: note: conversion of argument 1 would be ill-formed:
../src/msw/volume.cpp:469:48: error: invalid conversion from ‘long int*’ to ‘volatile long long unsigned int*’ [-fpermissive]
::InterlockedExchange(&s_cancelSearch, TRUE);
^
make: *** [Makefile:29072: basedll_volume.o] Error 1