Opened 9 years ago

Closed 9 years ago

#4129 closed defect (invalid)

Cannot compile on Linux with Intel compiler - proposed patch included

Reported by: mibintc Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,
libx264 can't be built with Intel compiler on Linux because there's a typedef for int32 and int64 in extras/windowsPorts/basicDataTypeConversions.h . Generally identifiers with double underscore are reserved for the implementation. I'm including a patch for configure which detects that int32 is already defined, and then uses preprocessor symbols to elide the typedef which is causing the problem. After these changes were made libx264 build sucessfully.

Attachments (2)

x264-configure.patch (370 bytes ) - added by mibintc 9 years ago.
patch file for configure
basicDataTypeConversions.patch (459 bytes ) - added by mibintc 9 years ago.
patch file for basicDataTypeConversions

Download all attachments as: .zip

Change History (3)

by mibintc, 9 years ago

Attachment: x264-configure.patch added

patch file for configure

by mibintc, 9 years ago

patch file for basicDataTypeConversions

comment:1 by Carl Eugen Hoyos, 9 years ago

Resolution: invalid
Status: newclosed

Sorry, this is the FFmpeg bug tracker.

Note: See TracTickets for help on using tickets.