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

can't build motif gui error: reference to ‘String’ is ambiguous #5

Open
Alessandro-Barbieri opened this issue Aug 14, 2021 · 0 comments

Comments

@Alessandro-Barbieri
Copy link

In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:186:5: error: reference to ‘String’ is ambiguous
  186 |     String*  /* params */,
      |     ^~~~~~
In file included from ../../omega_lib/include/omega/omega_core/oc.h:12,
                 from ../../omega_lib/include/omega/pres_gen.h:35,
                 from ../../omega_lib/include/omega/pres_form.h:10,
                 from ../../omega_lib/include/omega/RelBody.h:10,
                 from ../../omega_lib/include/omega/Relation.h:10,
                 from ../../omega_lib/include/omega/Relations.h:11,
                 from ../src/hpp.c:4:
../../basic/include/basic/String.h:24:7: note: candidates are: ‘class omega::String’
   24 | class String {
      |       ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:74:15: note:                 ‘typedef char* String’
   74 | typedef char *String;
      |               ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:186:5: error: ‘String’ has not been declared
  186 |     String*  /* params */,
      |     ^~~~~~
/usr/include/X11/Intrinsic.h:193:5: error: reference to ‘String’ is ambiguous
  193 |     String  string;
      |     ^~~~~~
In file included from ../../omega_lib/include/omega/omega_core/oc.h:12,
                 from ../../omega_lib/include/omega/pres_gen.h:35,
                 from ../../omega_lib/include/omega/pres_form.h:10,
                 from ../../omega_lib/include/omega/RelBody.h:10,
                 from ../../omega_lib/include/omega/Relation.h:10,
                 from ../../omega_lib/include/omega/Relations.h:11,
                 from ../src/hpp.c:4:
../../basic/include/basic/String.h:24:7: note: candidates are: ‘class omega::String’
   24 | class String {
      |       ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:74:15: note:                 ‘typedef char* String’
   74 | typedef char *String;
      |               ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:266:5: error: reference to ‘String’ is ambiguous
  266 |     String  /* action_name */,
      |     ^~~~~~
In file included from ../../omega_lib/include/omega/omega_core/oc.h:12,
                 from ../../omega_lib/include/omega/pres_gen.h:35,
                 from ../../omega_lib/include/omega/pres_form.h:10,
                 from ../../omega_lib/include/omega/RelBody.h:10,
                 from ../../omega_lib/include/omega/Relation.h:10,
                 from ../../omega_lib/include/omega/Relations.h:11,
                 from ../src/hpp.c:4:
../../basic/include/basic/String.h:24:7: note: candidates are: ‘class omega::String’
   24 | class String {
      |       ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:74:15: note:                 ‘typedef char* String’
   74 | typedef char *String;
      |               ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:266:5: error: ‘String’ has not been declared
  266 |     String  /* action_name */,
      |     ^~~~~~
/usr/include/X11/Intrinsic.h:268:5: error: reference to ‘String’ is ambiguous
  268 |     String*  /* params */,
      |     ^~~~~~
In file included from ../../omega_lib/include/omega/omega_core/oc.h:12,
                 from ../../omega_lib/include/omega/pres_gen.h:35,
                 from ../../omega_lib/include/omega/pres_form.h:10,
                 from ../../omega_lib/include/omega/RelBody.h:10,
                 from ../../omega_lib/include/omega/Relation.h:10,
                 from ../../omega_lib/include/omega/Relations.h:11,
                 from ../src/hpp.c:4:
../../basic/include/basic/String.h:24:7: note: candidates are: ‘class omega::String’
   24 | class String {
      |       ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:74:15: note:                 ‘typedef char* String’
   74 | typedef char *String;
      |               ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:268:5: error: ‘String’ has not been declared
  268 |     String*  /* params */,
      |     ^~~~~~
/usr/include/X11/Intrinsic.h:326:5: error: reference to ‘String’ is ambiguous
  326 |     String name;
      |     ^~~~~~
In file included from ../../omega_lib/include/omega/omega_core/oc.h:12,
                 from ../../omega_lib/include/omega/pres_gen.h:35,
                 from ../../omega_lib/include/omega/pres_form.h:10,
                 from ../../omega_lib/include/omega/RelBody.h:10,
                 from ../../omega_lib/include/omega/Relation.h:10,
                 from ../../omega_lib/include/omega/Relations.h:11,
                 from ../src/hpp.c:4:
../../basic/include/basic/String.h:24:7: note: candidates are: ‘class omega::String’
   24 | class String {
      |       ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:74:15: note:                 ‘typedef char* String’
   74 | typedef char *String;
      |               ^~~~~~
In file included from ../include/petit/motif.h:11,
                 from ../src/hpp.c:360:
/usr/include/X11/Intrinsic.h:364:5: error: reference to ‘String’ is ambiguous
  364 |     String resource_name; /* Resource name       */
      |     ^~~~~~
In file included from ../../omega_lib/include/omega/omega_core/oc.h:12,
                 from ../../omega_lib/include/omega/pres_gen.h:35,
                 from ../../omega_lib/include/omega/pres_form.h:10,
                 from ../../omega_lib/include/omega/RelBody.h:10,
                 from ../../omega_lib/include/omega/Relation.h:10,
                 from ../../omega_lib/include/omega/Relations.h:11,
                 from ../src/hpp.c:4:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant