Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile using mingw64 on Windows #30

Open
Voltra opened this issue May 8, 2019 · 2 comments
Open

Doesn't compile using mingw64 on Windows #30

Voltra opened this issue May 8, 2019 · 2 comments

Comments

@Voltra
Copy link

Voltra commented May 8, 2019

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.

@guypystin
Copy link

you solve this? I have this problem

@Voltra
Copy link
Author

Voltra commented Sep 29, 2021

Sadly no, I'd have to dive into how to parse __PRETTY_FUNCTION__ and add that to the lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants