[BRLTTY] Bug report MingW

Lars Bjørndal lars.bjorndal at broadpark.no
Mon Mar 20 09:05:07 EST 2006


Dave Mielke <dave at mielke.cc> writes:
<...
> Fixed in revision 2172.
Still problems:

cd Programs && make all
make[1]: Entering directory `/e/brltty/Programs'
gcc -Wall -g -O2 -DWINVER=0X0501 -I. -I.. -I. -I..  -DHAVE_CONFIG_H -c ./sys_windows.c
In file included from ./sys_windows.c:25:
sys_boot_none.h:18: warning: #warning boot parameter retrieval not available on this platform
In file included from sys_beep_windows.h:19,
                 from ./sys_windows.c:31:
sys_beep_none.h:18: warning: #warning console beep support not available on this platform
In file included from ./sys_windows.c:23:
sys_prog_windows.h: In function `getProgramPath':
sys_prog_windows.h:21: `HMODULE' undeclared (first use in this function)
sys_prog_windows.h:21: (Each undeclared identifier is reported only once
sys_prog_windows.h:21: for each function it appears in.)
sys_prog_windows.h:21: parse error before `handle'
sys_prog_windows.h:23: `handle' undeclared (first use in this function)
sys_prog_windows.h:23: warning: implicit declaration of function `GetModuleHandle'
sys_prog_windows.h:31: `DWORD' undeclared (first use in this function)
sys_prog_windows.h:31: parse error before `length'
sys_prog_windows.h:33: `length' undeclared (first use in this function)
sys_prog_windows.h:34: warning: implicit declaration of function `LogWindowsError'
In file included from ./sys_windows.c:27:
sys_exec_windows.h: In function `makeWindowsCommandLine':
sys_exec_windows.h:79: warning: implicit declaration of function `memmove'
sys_exec_windows.h: In function `executeHostCommand':
sys_exec_windows.h:106: `STARTUPINFO' undeclared (first use in this function)
sys_exec_windows.h:106: parse error before `startup'
sys_exec_windows.h:107: `PROCESS_INFORMATION' undeclared (first use in this function)
sys_exec_windows.h:109: `startup' undeclared (first use in this function)
sys_exec_windows.h:112: `process' undeclared (first use in this function)
sys_exec_windows.h:115: warning: implicit declaration of function `CreateProcess'
sys_exec_windows.h:115: `TRUE' undeclared (first use in this function)
sys_exec_windows.h:116: `CREATE_NEW_PROCESS_GROUP' undeclared (first use in this function)
sys_exec_windows.h:118: `DWORD' undeclared (first use in this function)
sys_exec_windows.h:118: parse error before `status'
sys_exec_windows.h:119: `status' undeclared (first use in this function)
sys_exec_windows.h:119: warning: implicit declaration of function `WaitForSingleObject'
sys_exec_windows.h:119: `INFINITE' undeclared (first use in this function)
sys_exec_windows.h:119: `WAIT_TIMEOUT' undeclared (first use in this function)
sys_exec_windows.h:120: `WAIT_OBJECT_0' undeclared (first use in this function)
sys_exec_windows.h:121: parse error before `code'
sys_exec_windows.h:122: warning: implicit declaration of function `GetExitCodeProcess'
sys_exec_windows.h:122: `code' undeclared (first use in this function)
sys_exec_windows.h:131: warning: implicit declaration of function `CloseHandle'
In file included from ./sys_windows.c:29:
sys_shlib_windows.h: In function `loadSharedObject':
sys_shlib_windows.h:20: `HMODULE' undeclared (first use in this function)
sys_shlib_windows.h:20: parse error before `library'
sys_shlib_windows.h:21: `library' undeclared (first use in this function)
sys_shlib_windows.h:21: warning: implicit declaration of function `LoadLibrary'
sys_shlib_windows.h:24: warning: control reaches end of non-void function
sys_shlib_windows.h: In function `unloadSharedObject':
sys_shlib_windows.h:28: warning: implicit declaration of function `FreeLibrary'
sys_shlib_windows.h:28: `HMODULE' undeclared (first use in this function)
sys_shlib_windows.h:28: parse error before `object'
sys_shlib_windows.h: In function `findSharedSymbol':
sys_shlib_windows.h:35: warning: implicit declaration of function `GetProcAddress'
sys_shlib_windows.h:35: `HMODULE' undeclared (first use in this function)
sys_shlib_windows.h:35: parse error before `object'
In file included from ./sys_windows.c:34:
sys_pcm_windows.h: At top level:
sys_pcm_windows.h:20: parse error before `HWAVEOUT'
sys_pcm_windows.h:20: warning: no semicolon at end of struct or union
sys_pcm_windows.h:21: warning: type defaults to `int' in declaration of `deviceID'
sys_pcm_windows.h:21: warning: data definition has no type or storage class
sys_pcm_windows.h:22: parse error before `format'
sys_pcm_windows.h:22: warning: type defaults to `int' in declaration of `format'
sys_pcm_windows.h:22: warning: data definition has no type or storage class
sys_pcm_windows.h:23: parse error before `done'
sys_pcm_windows.h:23: warning: type defaults to `int' in declaration of `done'
sys_pcm_windows.h:23: warning: data definition has no type or storage class
sys_pcm_windows.h:24: parse error before `waveHdr'
sys_pcm_windows.h:24: warning: type defaults to `int' in declaration of `waveHdr'
sys_pcm_windows.h:24: warning: data definition has no type or storage class
sys_pcm_windows.h:26: parse error before `}'
sys_pcm_windows.h:28: parse error before `defaultFormat'
sys_pcm_windows.h:28: warning: type defaults to `int' in declaration of `defaultFormat'
sys_pcm_windows.h:28: `WAVE_FORMAT_PCM' undeclared here (not in a function)
sys_pcm_windows.h:28: initializer element is not constant
sys_pcm_windows.h:28: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: excess elements in scalar initializer
sys_pcm_windows.h:28: warning: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: excess elements in scalar initializer
sys_pcm_windows.h:28: warning: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: excess elements in scalar initializer
sys_pcm_windows.h:28: warning: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: excess elements in scalar initializer
sys_pcm_windows.h:28: warning: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: excess elements in scalar initializer
sys_pcm_windows.h:28: warning: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: excess elements in scalar initializer
sys_pcm_windows.h:28: warning: (near initialization for `defaultFormat')
sys_pcm_windows.h:28: warning: data definition has no type or storage class
sys_pcm_windows.h:31: parse error before `*'
sys_pcm_windows.h: In function `recomputeWaveOutFormat':
sys_pcm_windows.h:32: invalid type argument of `->'
sys_pcm_windows.h:32: invalid type argument of `->'
sys_pcm_windows.h:32: invalid type argument of `->'
sys_pcm_windows.h:33: invalid type argument of `->'
sys_pcm_windows.h:33: invalid type argument of `->'
sys_pcm_windows.h:33: invalid type argument of `->'
sys_pcm_windows.h: At top level:
sys_pcm_windows.h:36: parse error before `initWaveHdr'
sys_pcm_windows.h:36: warning: type defaults to `int' in declaration of `initWaveHdr'
sys_pcm_windows.h:36: warning: initialization makes integer from pointer without a cast
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: excess elements in scalar initializer
sys_pcm_windows.h:36: warning: (near initialization for `initWaveHdr')
sys_pcm_windows.h:36: warning: data definition has no type or storage class
sys_pcm_windows.h:39: parse error before `error'
sys_pcm_windows.h: In function `LogWaveOutError':
sys_pcm_windows.h:40: `MAXERRORLENGTH' undeclared (first use in this function)
sys_pcm_windows.h:41: warning: implicit declaration of function `waveOutGetErrorText'
sys_pcm_windows.h:41: `error' undeclared (first use in this function)
sys_pcm_windows.h:42: `errorLevel' undeclared (first use in this function)
sys_pcm_windows.h:42: `action' undeclared (first use in this function)
sys_pcm_windows.h:40: warning: unused variable `msg'
sys_pcm_windows.h: In function `openPcmDevice':
sys_pcm_windows.h:48: `MMRESULT' undeclared (first use in this function)
sys_pcm_windows.h:48: parse error before `mmres'
sys_pcm_windows.h:49: `WAVEOUTCAPS' undeclared (first use in this function)
sys_pcm_windows.h:53: warning: implicit declaration of function `waveOutGetNumDevs'
sys_pcm_windows.h:59: dereferencing pointer to incomplete type
sys_pcm_windows.h:63: dereferencing pointer to incomplete type
sys_pcm_windows.h:65: warning: implicit declaration of function `waveOutGetDevCaps'
sys_pcm_windows.h:65: dereferencing pointer to incomplete type
sys_pcm_windows.h:65: `caps' undeclared (first use in this function)
sys_pcm_windows.h:65: `MMSYSERR_NOERROR' undeclared (first use in this function)
sys_pcm_windows.h:66: dereferencing pointer to incomplete type
sys_pcm_windows.h:68: dereferencing pointer to incomplete type
sys_pcm_windows.h:69: dereferencing pointer to incomplete type
sys_pcm_windows.h:69: `WAVE_FORMAT_PCM' undeclared (first use in this function)
sys_pcm_windows.h:72: `WAVE_FORMAT_1S08' undeclared (first use in this function)
sys_pcm_windows.h:73: `WAVE_FORMAT_1S16' undeclared (first use in this function)
sys_pcm_windows.h:74: `WAVE_FORMAT_2S08' undeclared (first use in this function)
sys_pcm_windows.h:75: `WAVE_FORMAT_2S16' undeclared (first use in this function)
sys_pcm_windows.h:76: `WAVE_FORMAT_4S08' undeclared (first use in this function)
sys_pcm_windows.h:76: `WAVE_FORMAT_4S16' undeclared (first use in this function)
sys_pcm_windows.h:77: dereferencing pointer to incomplete type
sys_pcm_windows.h:79: dereferencing pointer to incomplete type
sys_pcm_windows.h:82: `WAVE_FORMAT_4M08' undeclared (first use in this function)
sys_pcm_windows.h:83: `WAVE_FORMAT_4M16' undeclared (first use in this function)
sys_pcm_windows.h:85: dereferencing pointer to incomplete type
sys_pcm_windows.h:88: `WAVE_FORMAT_2M08' undeclared (first use in this function)
sys_pcm_windows.h:89: `WAVE_FORMAT_2M16' undeclared (first use in this function)
sys_pcm_windows.h:91: dereferencing pointer to incomplete type
sys_pcm_windows.h:94: `WAVE_FORMAT_1M08' undeclared (first use in this function)
sys_pcm_windows.h:95: `WAVE_FORMAT_1M16' undeclared (first use in this function)
sys_pcm_windows.h:97: dereferencing pointer to incomplete type
sys_pcm_windows.h:109: dereferencing pointer to incomplete type
sys_pcm_windows.h:117: dereferencing pointer to incomplete type
sys_pcm_windows.h:122: dereferencing pointer to incomplete type
sys_pcm_windows.h:123: dereferencing pointer to incomplete type
sys_pcm_windows.h:126: dereferencing pointer to incomplete type
sys_pcm_windows.h:126: warning: implicit declaration of function `CreateEvent'
sys_pcm_windows.h:126: `FALSE' undeclared (first use in this function)
sys_pcm_windows.h:126: `TRUE' undeclared (first use in this function)
sys_pcm_windows.h:131: dereferencing pointer to incomplete type
sys_pcm_windows.h:132: dereferencing pointer to incomplete type
sys_pcm_windows.h:134: `mmres' undeclared (first use in this function)
sys_pcm_windows.h:134: warning: implicit declaration of function `waveOutOpen'
sys_pcm_windows.h:134: dereferencing pointer to incomplete type
sys_pcm_windows.h:134: dereferencing pointer to incomplete type
sys_pcm_windows.h:135: dereferencing pointer to incomplete type
sys_pcm_windows.h:135: `DWORD' undeclared (first use in this function)
sys_pcm_windows.h:135: parse error before `pcm'
sys_pcm_windows.h:137: label `outEvent' used but not defined
sys_pcm_windows.h:100: label `out' used but not defined
sys_pcm_windows.h: At top level:
sys_pcm_windows.h:139: parse error before `return'
sys_pcm_windows.h: In function `unprepareHeader':
sys_pcm_windows.h:150: `MMRESULT' undeclared (first use in this function)
sys_pcm_windows.h:150: parse error before `mmres'
sys_pcm_windows.h:152: `mmres' undeclared (first use in this function)
sys_pcm_windows.h:152: warning: implicit declaration of function `waveOutUnprepareHeader'
sys_pcm_windows.h:152: dereferencing pointer to incomplete type
sys_pcm_windows.h:152: dereferencing pointer to incomplete type
sys_pcm_windows.h:152: dereferencing pointer to incomplete type
sys_pcm_windows.h:152: `MMSYSERR_NOERROR' undeclared (first use in this function)
sys_pcm_windows.h: At top level:
sys_pcm_windows.h:160: parse error before `WAVEFORMATEX'
sys_pcm_windows.h: In function `updateWaveOutFormat':
sys_pcm_windows.h:161: `MMRESULT' undeclared (first use in this function)
sys_pcm_windows.h:161: parse error before `mmres'
sys_pcm_windows.h:163: `pcm' undeclared (first use in this function)
sys_pcm_windows.h:164: `WAVE_FORMAT_QUERY' undeclared (first use in this function)
sys_pcm_windows.h:164: `MMSYSERR_NOERROR' undeclared (first use in this function)
sys_pcm_windows.h:165: warning: implicit declaration of function `waveOutClose'
sys_pcm_windows.h:166: `INVALID_HANDLE_VALUE' undeclared (first use in this function)
sys_pcm_windows.h:167: `mmres' undeclared (first use in this function)
sys_pcm_windows.h:168: `DWORD' undeclared (first use in this function)
sys_pcm_windows.h:168: parse error before `pcm'
sys_pcm_windows.h:172: `errmsg' undeclared (first use in this function)
sys_pcm_windows.h: At top level:
sys_pcm_windows.h:174: parse error before `return'
sys_pcm_windows.h: In function `closePcmDevice':
sys_pcm_windows.h:179: dereferencing pointer to incomplete type
sys_pcm_windows.h:181: dereferencing pointer to incomplete type
sys_pcm_windows.h:182: dereferencing pointer to incomplete type
sys_pcm_windows.h: In function `writePcmData':
sys_pcm_windows.h:188: `MMRESULT' undeclared (first use in this function)
sys_pcm_windows.h:188: parse error before `mmres'
sys_pcm_windows.h:191: dereferencing pointer to incomplete type
sys_pcm_windows.h:193: dereferencing pointer to incomplete type
sys_pcm_windows.h:197: dereferencing pointer to incomplete type
sys_pcm_windows.h:198: dereferencing pointer to incomplete type
sys_pcm_windows.h:199: dereferencing pointer to incomplete type
sys_pcm_windows.h:199: dereferencing pointer to incomplete type
sys_pcm_windows.h:202: dereferencing pointer to incomplete type
sys_pcm_windows.h:202: `WHDR_PREPARED' undeclared (first use in this function)
sys_pcm_windows.h:203: `mmres' undeclared (first use in this function)
sys_pcm_windows.h:203: warning: implicit declaration of function `waveOutPrepareHeader'
sys_pcm_windows.h:203: dereferencing pointer to incomplete type
sys_pcm_windows.h:203: dereferencing pointer to incomplete type
sys_pcm_windows.h:203: dereferencing pointer to incomplete type
sys_pcm_windows.h:203: `MMSYSERR_NOERROR' undeclared (first use in this function)
sys_pcm_windows.h:207: dereferencing pointer to incomplete type
sys_pcm_windows.h:208: dereferencing pointer to incomplete type
sys_pcm_windows.h:209: warning: implicit declaration of function `ResetEvent'
sys_pcm_windows.h:209: dereferencing pointer to incomplete type
sys_pcm_windows.h:210: warning: implicit declaration of function `waveOutWrite'
sys_pcm_windows.h:210: dereferencing pointer to incomplete type
sys_pcm_windows.h:210: dereferencing pointer to incomplete type
sys_pcm_windows.h:210: dereferencing pointer to incomplete type
sys_pcm_windows.h:211: warning: implicit declaration of function `SetEvent'
sys_pcm_windows.h:211: dereferencing pointer to incomplete type
sys_pcm_windows.h: In function `getPcmSampleRate':
sys_pcm_windows.h:225: dereferencing pointer to incomplete type
sys_pcm_windows.h:226: warning: control reaches end of non-void function
sys_pcm_windows.h: In function `setPcmSampleRate':
sys_pcm_windows.h:230: parse error before `format'
sys_pcm_windows.h:231: request for member `nSamplesPerSec' in something not a structure or union
sys_pcm_windows.h: In function `getPcmChannelCount':
sys_pcm_windows.h:240: dereferencing pointer to incomplete type
sys_pcm_windows.h:241: warning: control reaches end of non-void function
sys_pcm_windows.h: In function `setPcmChannelCount':
sys_pcm_windows.h:245: parse error before `format'
sys_pcm_windows.h:246: request for member `nChannels' in something not a structure or union
sys_pcm_windows.h: In function `getPcmAmplitudeFormat':
sys_pcm_windows.h:255: dereferencing pointer to incomplete type
sys_pcm_windows.h:256: dereferencing pointer to incomplete type
sys_pcm_windows.h: In function `setPcmAmplitudeFormat':
sys_pcm_windows.h:262: `WAVEFORMATEX' undeclared (first use in this function)
sys_pcm_windows.h:262: parse error before `newFormat'
sys_pcm_windows.h:263: `newFormat' undeclared (first use in this function)
sys_pcm_windows.h: In function `awaitPcmOutput':
sys_pcm_windows.h:278: dereferencing pointer to incomplete type
sys_pcm_windows.h:278: `WHDR_PREPARED' undeclared (first use in this function)
sys_pcm_windows.h:279: dereferencing pointer to incomplete type
sys_pcm_windows.h:279: `WHDR_DONE' undeclared (first use in this function)
sys_pcm_windows.h:280: dereferencing pointer to incomplete type
sys_pcm_windows.h:280: `INFINITE' undeclared (first use in this function)
sys_pcm_windows.h:281: dereferencing pointer to incomplete type
sys_pcm_windows.h: In function `cancelPcmOutput':
sys_pcm_windows.h:286: warning: implicit declaration of function `waveOutReset'
sys_pcm_windows.h:286: dereferencing pointer to incomplete type
In file included from ./sys_windows.c:38:
sys_midi_windows.h: At top level:
sys_midi_windows.h:21: parse error before `HMIDIOUT'
sys_midi_windows.h:21: warning: no semicolon at end of struct or union
sys_midi_windows.h:25: parse error before `}'
sys_midi_windows.h:39: parse error before `error'
sys_midi_windows.h: In function `logMidiOutError':
sys_midi_windows.h:40: `MAXERRORLENGTH' undeclared (first use in this function)
sys_midi_windows.h:41: warning: implicit declaration of function `midiOutGetErrorText'
sys_midi_windows.h:41: `error' undeclared (first use in this function)
sys_midi_windows.h:42: `errorLevel' undeclared (first use in this function)
sys_midi_windows.h:42: `action' undeclared (first use in this function)
sys_midi_windows.h:40: warning: unused variable `text'
sys_midi_windows.h: In function `addMidiMessage':
sys_midi_windows.h:47: dereferencing pointer to incomplete type
sys_midi_windows.h:47: dereferencing pointer to incomplete type
sys_midi_windows.h:51: dereferencing pointer to incomplete type
sys_midi_windows.h:51: dereferencing pointer to incomplete type
sys_midi_windows.h:52: dereferencing pointer to incomplete type
sys_midi_windows.h: In function `openMidiDevice':
sys_midi_windows.h:66: `MMRESULT' undeclared (first use in this function)
sys_midi_windows.h:66: parse error before `error'
sys_midi_windows.h:74: warning: implicit declaration of function `midiOutGetNumDevs'
sys_midi_windows.h:77: `MIDIOUTCAPS' undeclared (first use in this function)
sys_midi_windows.h:77: parse error before `cap'
sys_midi_windows.h:78: warning: implicit declaration of function `midiOutGetDevCaps'
sys_midi_windows.h:78: `cap' undeclared (first use in this function)
sys_midi_windows.h:78: `MMSYSERR_NOERROR' undeclared (first use in this function)
sys_midi_windows.h:79: warning: implicit declaration of function `strncasecmp'
sys_midi_windows.h:89: dereferencing pointer to incomplete type
sys_midi_windows.h:90: `error' undeclared (first use in this function)
sys_midi_windows.h:90: warning: implicit declaration of function `midiOutOpen'
sys_midi_windows.h:90: dereferencing pointer to incomplete type
sys_midi_windows.h:90: `CALLBACK_NULL' undeclared (first use in this function)
sys_midi_windows.h:91: dereferencing pointer to incomplete type
sys_midi_windows.h:92: dereferencing pointer to incomplete type
sys_midi_windows.h: In function `closeMidiDevice':
sys_midi_windows.h:108: warning: implicit declaration of function `midiOutClose'
sys_midi_windows.h:108: dereferencing pointer to incomplete type
sys_midi_windows.h: In function `flushMidiDevice':
sys_midi_windows.h:116: dereferencing pointer to incomplete type
sys_midi_windows.h:117: `MMRESULT' undeclared (first use in this function)
sys_midi_windows.h:117: parse error before `error'
sys_midi_windows.h:118: `MIDIHDR' undeclared (first use in this function)
sys_midi_windows.h:120: `header' undeclared (first use in this function)
sys_midi_windows.h:120: dereferencing pointer to incomplete type
sys_midi_windows.h:121: dereferencing pointer to incomplete type
sys_midi_windows.h:124: `error' undeclared (first use in this function)
sys_midi_windows.h:124: warning: implicit declaration of function `midiOutPrepareHeader'
sys_midi_windows.h:124: dereferencing pointer to incomplete type
sys_midi_windows.h:124: `MMSYSERR_NOERROR' undeclared (first use in this function)
sys_midi_windows.h:125: warning: implicit declaration of function `midiOutLongMsg'
sys_midi_windows.h:125: dereferencing pointer to incomplete type
sys_midi_windows.h:126: dereferencing pointer to incomplete type
sys_midi_windows.h:132: warning: implicit declaration of function `midiOutUnprepareHeader'
sys_midi_windows.h:132: dereferencing pointer to incomplete type
sys_midi_windows.h:132: `MIDIERR_STILLPLAYING' undeclared (first use in this function)
sys_midi_windows.h: In function `startMidiNote':
sys_midi_windows.h:172: dereferencing pointer to incomplete type
sys_midi_windows.h: In function `stopMidiNote':
sys_midi_windows.h:179: dereferencing pointer to incomplete type
sys_midi_windows.h:182: dereferencing pointer to incomplete type
make[1]: *** [sys_windows.o] Error 1
make[1]: Leaving directory `/e/brltty/Programs'
make: *** [all] Error 2

Lars


More information about the BRLTTY mailing list