Skip to content

Build problem of HarfBuzz on HP with its native compilers, #error in src/hb-warning.cc #399

@sapi18n

Description

@sapi18n

HarfBuzz cannot be build on HP with its native compilers cc and aCC.

Error messages look like

"hb-warning.cc", line 32: error #2035: #error directive: "Could not find any
 system to define atomic_int macros, library WILL NOT be thread-safe"
 #error "Could not find any system to define atomic_int macros, library WILL NOT be thread-safe"
 ^

There are four #error statement in src/hb-warning.cc. These lines must be #warning, not #error.

OR the compile option to force a multi-thread compilation must be examined for HP compilers. Currently "-mthread" seems to be passed, but I think "-mt" is the right one for HP. (I amd not an HP compiler expert but Google says it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions