{"id":16984671,"url":"https://github.com/not-nik/libcomperr","last_synced_at":"2025-03-22T01:19:29.655Z","repository":{"id":104028891,"uuid":"280876617","full_name":"Not-Nik/libcomperr","owner":"Not-Nik","description":"A simple C library to create GCC-like compiler warnings and errors.","archived":false,"fork":false,"pushed_at":"2024-02-24T20:44:46.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T05:08:57.707Z","etag":null,"topics":["compiler","compiler-tool","errors","gcc","warnings"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Not-Nik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-19T13:57:25.000Z","updated_at":"2023-02-27T23:16:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"715aaaad-4ce2-4406-bf6f-9a2d7770d292","html_url":"https://github.com/Not-Nik/libcomperr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Not-Nik%2Flibcomperr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Not-Nik%2Flibcomperr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Not-Nik%2Flibcomperr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Not-Nik%2Flibcomperr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Not-Nik","download_url":"https://codeload.github.com/Not-Nik/libcomperr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890493,"owners_count":20527110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler","compiler-tool","errors","gcc","warnings"],"created_at":"2024-10-14T02:33:26.853Z","updated_at":"2025-03-22T01:19:29.634Z","avatar_url":"https://github.com/Not-Nik.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libcomperr\n\nA simple C library to create GCC-like compiler warnings and errors.\n\n## Simple usage example\n\n```c\n#include \"comperr.h\"\n\nint main()\n{\n    comperr(false, \"Test warning\", true, \"\", 0, 0);\n    comperr(false, \"Test error 1\", false, \"\", 0, 0);\n    comperr(false, \"Test error 2\", false, \"\", 0, 0);\n    endfile();\n}\n```\n\n## Internal stuff...\n\n...you might want to know.\n\n* Streams are flushed after each message\n* Tabs in files are replaced with single whitespaces\n* ANSI color codes are used so your terminal has to support that\n\nThere are three compile flags:\n\n### ERROR_STREAM, WARNING_STREAM, NOTE_STREAM, ENDFILE_STREAM\n\nThese set the stream that should be use when printing an error, a warning, a noe and the endfile message respectively.\n\n### AUTO_EXIT\n\nIf defined the library will automatically `exit(1)` if there has been an error when `endfile()` is called.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-nik%2Flibcomperr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnot-nik%2Flibcomperr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-nik%2Flibcomperr/lists"}