Skip to content

Conversation

@trofi
Copy link

@trofi trofi commented Feb 10, 2024

Without the change build fails on gcc-13 as:

local_cache.cpp: In function 'void throw_if(bool, const std::string&)':
local_cache.cpp:40:20: error: 'runtime_error' is not a member of 'std'
   40 |         throw std::runtime_error(error);
      |                    ^~~~~~~~~~~~~
local_cache.cpp:17:1: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
   16 | #include <sys/file.h>
  +++ |+#include <stdexcept>
   17 | #include <sys/stat.h>

Without the change build fails on `gcc-13` as:

    local_cache.cpp: In function 'void throw_if(bool, const std::string&)':
    local_cache.cpp:40:20: error: 'runtime_error' is not a member of 'std'
       40 |         throw std::runtime_error(error);
          |                    ^~~~~~~~~~~~~
    local_cache.cpp:17:1: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
       16 | #include <sys/file.h>
      +++ |+#include <stdexcept>
       17 | #include <sys/stat.h>
@msft-gumunjal
Copy link
Collaborator

I will take a look and update this.

@pbeza
Copy link

pbeza commented May 17, 2024

@msft-gumunjal any update? I need to hack around my project without this fix. :/// Why hasn't it been merged in the last three months? It's super easy to reproduce and fix, after all!

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

Successfully merging this pull request may close these issues.

3 participants