{"id":16105810,"url":"https://github.com/devlights/detect-gcc-default-stdc-version","last_synced_at":"2025-04-06T03:13:23.660Z","repository":{"id":159761806,"uuid":"634830311","full_name":"devlights/detect-gcc-default-stdc-version","owner":"devlights","description":"This is a sample code to check the version of the C language standard specification applied by default in gcc.","archived":false,"fork":false,"pushed_at":"2023-05-01T10:20:33.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T08:58:27.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/devlights.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":"2023-05-01T10:07:05.000Z","updated_at":"2023-05-01T17:54:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5b41515-44b9-4435-9929-9d7312dac0f5","html_url":"https://github.com/devlights/detect-gcc-default-stdc-version","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/devlights%2Fdetect-gcc-default-stdc-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fdetect-gcc-default-stdc-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fdetect-gcc-default-stdc-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlights%2Fdetect-gcc-default-stdc-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlights","download_url":"https://codeload.github.com/devlights/detect-gcc-default-stdc-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427012,"owners_count":20937214,"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":[],"created_at":"2024-10-09T19:10:42.050Z","updated_at":"2025-04-06T03:13:23.634Z","avatar_url":"https://github.com/devlights.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# detect-gcc-default-stdc-version\n\nThis is a sample code to check the version of the C language standard specification applied by default in gcc.\n\n# Requirements\n\n- [GCC](https://gcc.gnu.org/)\n- [Task](https://taskfile.dev/#/)\n\n# How to run\n\nThe following was executed on Gitpod.\n\n```sh\n$ task --list\ntask: Available tasks for this project:\n* cmd-only:         Command only (no source code)\n* normal-way:       Normal way (with source code)\n\n\n$ task normal-way\ntask: [normal-way] gcc --version\ngcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0\nCopyright (C) 2021 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions.  There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\ntask: [normal-way] gcc -o app main.c\ntask: [normal-way] ./app\nC Standard: 201710\ntask: [normal-way] rm ./app\n\n\n$ task cmd-only\n# https://mikoto2000.blogspot.com/2020/08/gcc-std.html\ntask: [cmd-only] echo | gcc -dM -E - | grep STDC_V\n#define __STDC_VERSION__ 201710L\n```\n\n\n# REFERENCES\n\n- [gcc の std オプションのデフォルト値を調べる](https://mikoto2000.blogspot.com/2020/08/gcc-std.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Fdetect-gcc-default-stdc-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlights%2Fdetect-gcc-default-stdc-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlights%2Fdetect-gcc-default-stdc-version/lists"}