Skip to content

Doesn't compile using mingw64 on Windows #30

Description

@Voltra

Hi, I recently tried to use this library for a small project but got a compile error for q/pp.hp on line 126 stating :

error: '__FUNCSIG__' was not declared in this scope
 # define LIBQ_FUNCTION __FUNCSIG__

After some digging, it seems that it detects that I'm compiling on Windows but uses __FUNCSIG__ which is part of Visual C++ even though I'm compiling using mingw64's toolchain.

  • Language version : C++17
  • Compiler : g++ v8.1.0
  • Compiler details : x86_64-posix-seh-rev0
  • Platform : Windows 10

On gcc (and therefore g++) and clang, there is __PRETTY_FUNCTION__ that would serve a similar purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions