Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g.mapsets: add missing declared or defined argument type #3599

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

nilason
Copy link
Contributor

@nilason nilason commented Apr 15, 2024

Add missing declaration/definition of argument type.

Log extract:

/usr/bin/clang -I/opt/local/include -isystem/opt/local/include -isystem/opt/local/include/libomp -std=c11 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -O0 --debug -Wall -Wextra -Wpedantic -Wno-error=deprecated-non-prototype -D_FORTIFY_SOURCE=3 -Wvla -Wno-error=strict-prototypes -DGL_SILENCE_DEPRECATION   -I/dev/grass/dist.aarch64-apple-darwin23.4.0/include -I/dev/grass/dist.aarch64-apple-darwin23.4.0/include    -DPACKAGE=\""grassmods"\"   -I/dev/grass/dist.aarch64-apple-darwin23.4.0/include -I/dev/grass/dist.aarch64-apple-darwin23.4.0/include -DRELDIR=\"general/g.mapsets\" -o OBJ.aarch64-apple-darwin23.4.0/get_maps.o -c get_maps.c
In file included from get_maps.c:5:
./local_proto.h:9:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void list_accessible_mapsets_json();
                                 ^
                                  void
1 warning generated.

@nilason nilason added this to the 8.4.0 milestone Apr 15, 2024
@nilason nilason self-assigned this Apr 15, 2024
@github-actions github-actions bot added C Related code is in C module general labels Apr 15, 2024
@echoix
Copy link
Member

echoix commented Apr 15, 2024

Do you happen to have a bit more time than me for the Windows CI? I'm heading to a world championship at the end of next week, and have practices almost each day.. I'll be loose only at the end of the month, and be there at the community meeting ;)

@nilason nilason enabled auto-merge (squash) April 16, 2024 11:13
@nilason nilason merged commit f8fb819 into OSGeo:main Apr 16, 2024
26 checks passed
@nilason nilason deleted the fix_g-mapsets-void branch April 16, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related code is in C general module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants