User Activity

  • Posted a comment on ticket #1052 on Code::Blocks

    Compiled and installed gdb 9.2, problem fixed, thank you.

  • Posted a comment on ticket #1052 on Code::Blocks

    ~/code/cpp/circuit/regex$ gdb ./bin/Debug/regex ......... Reading symbols from ./bin/Debug/regex...done. (gdb) b 5 Breakpoint 1 at 0x4d75: file /home/graeme/code/cpp/circuit/regex/src/regex.cc, line 5. (gdb) r Starting program: /home/graeme/code/cpp/circuit/regex/bin/Debug/regex Breakpoint 1, main () at /home/graeme/code/cpp/circuit/regex/src/regex.cc:5 5 std::cout << std::regex_match("xxx", s) << '\n'; (gdb) info locals Segmentation fault (core dumped) Code::blocks menu->settings->Debugger->Default->Uncheck...

  • Posted a comment on ticket #1052 on Code::Blocks

    If I print my match it shouldn't optimize it away? #include <iostream> #include <regex> int main() { const std::regex s("x"); std::cout << std::regex_match("xxx", s) << '\n'; } Change regex to string and it works #include <iostream> #include <string> int main() { const std::string s("x"); std::cout << s << '\n'; } Works in terminal: ~/code/cpp/circuit/regex$ gdb ./bin/Debug/regex GNU gdb (Ubuntu 8.2-0ubuntu1~18.04) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version...

  • Created ticket #1052 on Code::Blocks

    Debugger finished with status 1

  • Created ticket #906 on Code::Blocks

    search for left square bracket deug alert

  • Created ticket #407 on Artistic Style

    Visual C++ Runtime Assertion using AStyle

  • Created ticket #765 on FreeBASIC Compiler

    DBL_MAX evaluates to #INF

View All

Personal Data

Username:
gpkiwi
Joined:
2005-12-25 00:59:49

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB