AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

illumos needs `alloca.h` to get `alloca()`

Open Beginner friendly
#2,091 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.1k
Forks
503
PR merge metrics
No merged PRs in 30d

Description

To compile successfully `src/apputils/argparse.cpp` on illumos one needs to add the `alloca.h` include to the file.

See https://github.com/OpenIndiana/oi-userland/blob/e4f5cba886591d62fd365f7a941730796d2d5e46/components/library/opencolorio/patches/01-argparse.cpp.patch for reference.

Contributor guide

Open the contributing guide

Research direction

Open src/apputils/argparse.cpp and inspect its existing includes and use of alloca(). Use the linked OpenIndiana patch as reference for the illumos-specific include, then verify that the file compiles successfully on illumos.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.