compile with -DUNIV_DEBUG fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona patches |
New
|
Undecided
|
Unassigned |
Bug Description
bash -c cd ../mysql-5.0.77 && CFLAGS=-DUNIV_DEBUG CXXFLAGS=
...
ccache gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./../../include -I../../include -DDBUG_OFF -DDBUG_OFF -DUNIV_DEBUG -DDEBUG_OFF -DUNIV_LINUX -MT os0file.o -MD -MP -MF .deps/os0file.Tpo -c -o os0file.o os0file.c
os0file.c: In function ‘_os_file_pread’:
os0file.c:1950: error: dereferencing pointer to incomplete type
os0file.c:1952: error: dereferencing pointer to incomplete type
os0file.c:1953: error: dereferencing pointer to incomplete type
os0file.c:1970: error: dereferencing pointer to incomplete type
os0file.c:1974: error: dereferencing pointer to incomplete type
os0file.c: In function ‘os_aio’:
os0file.c:3523: error: dereferencing pointer to incomplete type
os0file.c:3524: error: dereferencing pointer to incomplete type
make[5]: *** [os0file.o] Error 1
make[5]: Leaving directory `/mnt/data1/
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[4]: Leaving directory `/mnt/data1/
make[3]: Leaving directory `/mnt/data1/
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/mnt/data1/
make[1]: Leaving directory `/mnt/data1/
program finished with exit code 2
elapsedTime=