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

errors in miinitext.c #265

Closed
l29ah opened this issue Feb 6, 2016 · 3 comments
Closed

errors in miinitext.c #265

l29ah opened this issue Feb 6, 2016 · 3 comments
Labels
notourbug This issue needs to be resolved elsewhere

Comments

@l29ah
Copy link

l29ah commented Feb 6, 2016

can't compile master with clang

../../mi/miinitext.c:118:30: error: a parameter list without types is only allowed in a function definition
extern void vncExtensionInit(INITARGS);
                             ^
../../mi/miinitext.c:331:41: error: invalid application of 'sizeof' to an incomplete type 'const ExtensionModule []'
    LoadExtensionList(staticExtensions, ARRAY_SIZE(staticExtensions), TRUE);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/dix.h:67:31: note: expanded from macro 'ARRAY_SIZE'
#define ARRAY_SIZE(a)  (sizeof((a)) / sizeof((a)[0]))
                              ^~~~~
2 errors generated.
make: *** [Xvnc-miinitext.o] Error 1
@CendioOssman
Copy link
Member

That file comes from Xorg and not TigerVNC, so I'm afraid it's not a bug we can do anything about. You need to file the bug with them.

(or try a different Xorg version and see if that works better)

@CendioOssman CendioOssman added the notourbug This issue needs to be resolved elsewhere label Feb 6, 2016
@l29ah
Copy link
Author

l29ah commented Feb 6, 2016

I don't see such a problem when i compile xorg in gentoo, and it seems the problem is that the required cpp macro is not provided to the source, so it might be a tigervnc build system's fault.

@CendioOssman
Copy link
Member

The build system also comes from the Xorg sources, I'm afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notourbug This issue needs to be resolved elsewhere
Projects
None yet
Development

No branches or pull requests

2 participants