Opened 5 years ago

Closed 5 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 5 years ago.
patch file for configure
basicDataTypeConversions.patch (459 bytes) - added by mibintc 5 years ago.
patch file for basicDataTypeConversions

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by mibintc

patch file for configure

Changed 5 years ago by mibintc

patch file for basicDataTypeConversions

comment:1 Changed 5 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, this is the FFmpeg bug tracker.

Note: See TracTickets for help on using tickets.