Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9310 closed Bug Report (Fixed)

win32: compilation fails on frame.h, presumably after [27326]

Reported by: Jonathan Martens <jonathan@…> Owned by: beirdo
Priority: minor Milestone: 0.25
Component: Ports - Windows Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Compiling latest trunk on win32 errors out with the following error:

make[2]: Entering directory `/D/mythtv/mythtv/filters/force'
gcc -c -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGE
FILE_SOURCE -march=pentium4 -std=c99 -fno-common -DNDEBUG -fomit-frame-pointer -
g -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wr
edundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wund
ef -Wmissing-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectoriz
e -Wno-missing-prototypes -DQT_LARGEFILE_SUPPORT -DWIN32 -DUSING_MINGW -DMMX -Di
386 -D_GNU_SOURCE -I'/usr/include' -I'/D/mythtv/build/' -I'../../libs/libmythtv'
 -I'../../libs/libmythdb' -I'../../external/FFmpeg' -I'../../libs/libmythtv' -I'
../../../../Qt/4.6.3/mkspecs/win32-g++' -o filter_force.o filter_force.c
In file included from ../../libs/libmythtv/filter.h:12,
                 from filter_force.c:6:
../../libs/libmythtv/frame.h:43: error: expected specifier-qualifier-list before
 'int64_t'
make[2]: *** [filter_force.o] Error 1
make[2]: Leaving directory `/D/mythtv/mythtv/filters/force'
make[1]: *** [sub-force-make_default] Error 2
make[1]: Leaving directory `/D/mythtv/mythtv/filters'
make: *** [filters] Error 2

Including stdint.h should fix this, I guess you do not need a patch for that, right?

Change History (3)

comment:1 Changed 14 years ago by beirdo

Owner: changed from Nigel to beirdo
Status: newassigned

Since I'm in there getting other code to compile under Windows, I'll fix this one.

comment:2 Changed 14 years ago by beirdo

Resolution: Fixed
Status: assignedclosed

(In [27391]) Fix windows compiling

Fixes #9310

comment:3 Changed 14 years ago by beirdo

Milestone: unknown0.25
Note: See TracTickets for help on using tickets.