Files
Tom de Vries 6a93ab8af4 [gdb/build] Fix enum param_types odr violation
When building gdb with -O2 -flto, I run into:
...
gdb/guile/scm-param.c:121:6: warning: type 'param_types' violates the C++ \
  One Definition Rule [-Wodr]
 enum param_types
      ^
gdb/python/py-param.c:33:6: note: an enum with different value name is \
  defined in another translation unit
 enum param_types
      ^
...

Fix this by renaming to enum scm_param_types and py_param_types.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>

PR build/22395
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22395
2023-08-14 18:32:29 +02:00
..
2023-08-03 10:27:00 -06:00
2023-06-19 16:17:21 +02:00
2023-05-23 10:09:28 -06:00
2023-07-21 10:33:07 -06:00
2023-06-12 12:09:39 -06:00
2023-05-23 10:09:28 -06:00