Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fmt/include\fmt/format-inl.h:1417:3: error: cannot use 'try' with exceptions disabled #4207

@sergio-nsk

Description

@sergio-nsk

Getting this error while compiling with LLVM clang++.exe on Windows, the exceptions are disabled -fno-exceptions and -fms-compatibility is not used:

fmt/include\fmt/format-inl.h:1417:3: error: cannot use 'try' with exceptions disabled
 1417 |   FMT_TRY {
      |   ^
fmt/include\fmt\base.h:175:19: note: expanded from macro 'FMT_TRY'
  175 | #  define FMT_TRY try
      |  

Looks like relevant to #70 that does not seem to be properly/completely fixed.
The {fmt} version is 11.0.2.

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