[Lldb-commits] [PATCH] D151570: Fix Build error on Mac M1 : error: use of undeclared identifier 'getopt_long_only'; did you mean 'getopt_long'?

2023-05-26 Thread Nicklas Boman via Phabricator via lldb-commits
smurfd created this revision. smurfd added a reviewer: LLDB. Herald added a subscriber: krytarowski. Herald added a project: All. smurfd requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. I got build error on ma m1 `lldb/source/Host/common/Opt

[Lldb-commits] [PATCH] D151570: Fix Build error on Mac M1 : error: use of undeclared identifier 'getopt_long_only'; did you mean 'getopt_long'?

2023-05-26 Thread Nicklas Boman via Phabricator via lldb-commits
smurfd added a comment. Hey, yeah that compiles. Im using the standard macos clang ,for Ventura 13.4, xcode 14.3 $ gcc -v Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Tool

[Lldb-commits] [PATCH] D151570: Fix Build error on Mac M1 : error: use of undeclared identifier 'getopt_long_only'; did you mean 'getopt_long'?

2023-06-02 Thread Nicklas Boman via Phabricator via lldb-commits
smurfd abandoned this revision. smurfd added a comment. Hey, sorry for wasting your time with this. Should have read the error message more carefully. Its related to `pkgsrc` missing `getopt_long_only()` in `getopt.h` Checking/filing a bug towards them instead Repository: rG LLVM Github Monor