In X11/Intrinsic.h, we have this: typedef char *String; typedef struct { String name; XtArgVal value; } Arg, *ArgList; As a result, when the XtSetArg macro is used to populate one of these structures, it is often the case that a constant string (e.g. 'const char *') is assigned to the name field. Since name does not have the const qualifier, a compiler warning is issued. Is there any reason not to use 'const char *' for the name field? I cannot see why any code would have a reason to modify the name string...
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libxt/issues/2.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.