chunk error

Open
#446 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
c
Domain
data

Research direction

Start with cute_tiled.h, specifically the struct that refers to its own type, which the reporter says breaks compilation when the header is included alongside Raylib in C. Reproduce by including cute_tiled.h in a minimal C file with raylib.h, and check whether the reporter's Visual Studio setup is involved. Done means the header compiles cleanly in that setup, with a clear explanation of the name clash or typedef ordering. The reporter gave no exact error text, so the first step is getting it.

Written by the indexing model from the issue text.

Description

Image

I'm not experienced with any of this, but using Raylib C, I got a bunch of errors by just including the cute_tiled.h file, without even doing anything with it.

So had to make this jank fix in the image above because a struct has its own type inside itself.
Maybe its a Visual Studio thing I dont know , but thought I should share it.

Thanks

Dominant language
C
Stars
5.1k
Forks
316
Avg merge
28m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RandyGaul/cute_headers

All issues in RandyGaul/cute_headers

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.