Skip to content

Using {fmt} on IBM i (AS/400) 7.3 ILE C++ compiler #1059

Closed
@kunichik

Description

I added the include/fmt folder to my project
when I include fmt/printf.h in the program, the IBM i 7.3 ILE C++ compiler,
which doesn't fully implement C++11,
I get the following errors:

../fmt/core.h(481) : error : at column 021 - The name "typename std::enable_if" is not a type.

../fmt/core.h(196) : error : at column 001 - The name "typename std::add_rvalue_reference" is not a type.

../fmt/core.h(210) : error : at column 015 - The name "typename std::make_unsigned" is not a type.

../fmt/core.h(662) : error : at column 025 - The text "<" is unexpected. "std::conditional" may be undeclared or ambiguous.

../fmt/core.h(665) : error : at column 070 - The name lookup for "long_type" did not find a declaration.

../fmt/core.h(665) : warning : at column 070 - Declarations for non-dependent names are resolved in the template definition.

../fmt/core.h(665) : warning : at column 070 - "long_type" does not depend on a template argument.

../fmt/core.h(670) : error : at column 020 - The name lookup for "ulong_type" did not find a declaration.

../fmt/core.h(670) : warning : at column 020 - "ulong_type" does not depend on a template argument.

../fmt/core.h(874) : error : at column 027 - "std::forward" is not declared.

../fmt/format.h(597) : error : at column 003 - The template argument must be a type, to match the template parameter.

../fmt/format.h(672) : error : at column 048 - The name "typename std::is_void" is not a type.

../fmt/format.h(677) : error : at column 026 - The text "<" is unexpected.

../fmt/format.h(999) : error : at column 010 - "internal::copy_str" is not declared.

../fmt/format.h(1661) : error : at column 019 - The name lookup for "to_unsigned" did not find a declaration.

../fmt/format.h(1661) : warning : at column 019 - "to_unsigned" does not depend on a template argument.

../fmt/format.h(2019) : error : at column 010 - The text "{" is unexpected.

../fmt/format.h(2900) : error : at column 007 - "internal::is_negative" is not declared.

../fmt/format.h(3258) : error : at column 003 - "internal::check_format_string" is not declared.

../fmt/format.h(398) : error : at column 034 - "internal::to_unsigned" is not declared.

../fmt/ostream.h(78) : error : at column 029 - The text "<" is unexpected. "std::make_unsigned" may be undeclared, ambiguous, or may require "typename" qualification.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions