Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xfce4-dev-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XfceXfce
  • xfce4-dev-tools
  • Issues
  • #46
Closed
Open
Issue created Feb 03, 2021 by Ruozhou He@HowardZorn

[xdt-csource] main.c has found several typos while building in MinGW

The log of make is as follows:

main.c: In function 'main':
main.c:379:18: warning: implicit declaration of function 'g_local_to_utf8'; did you mean 'g_locale_to_utf8'? [-Wimplicit-function-declaration]
  379 |       filename = g_local_to_utf8 (argv[1], -1, NULL, NULL, NULL);
      |                  ^~~~~~~~~~~~~~~
      |                  g_locale_to_utf8
main.c:379:16: warning: assignment to 'gchar *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  379 |       filename = g_local_to_utf8 (argv[1], -1, NULL, NULL, NULL);
      |                ^
main.c:404:20: warning: assignment to 'gchar *' {aka 'char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  404 |           filename = g_local_to_utf8 (*p, -1, NULL, NULL, NULL);
      |                    ^
  CCLD     xdt-csource.exe

It seems that the g_locale_to_utf8 is misspelled as g_local_to_utf8.

Assignee
Assign to
Time tracking