Skip to content

Compile error #2

@peterfreeth

Description

@peterfreeth

Compiling on Ubuntu 25.04:

test.c: In function ‘main’:
test.c:6:1: error: implicit declaration of function ‘g_printf’; did you mean ‘g_print’? [-Wimplicit-function-declaration]
6 | g_printf("mod: %s\n", g_utf8_collate_key_for_filename(argv[1], 8));
| ^~~~~~~~
| g_print
make: *** [Makefile:10: test] Error 1

I changed printf to print and it seems to work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions