JDevlieghere added a comment.

What host compiler are you using when you see this error? `getopt_long_only` is 
available on macOS. Does this compile for you?

  #include <getopt.h>
  
  int main(int argc, char** argv)
  {
    struct option longopts[] = {
      { "foo", required_argument, 0, 'f' },
    };
    int i;
    return getopt_long_only(argc, argv, "l::m:r:d",
        longopts, &i);
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151570/new/

https://reviews.llvm.org/D151570

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to