[Mesa-dev] [Bug 75165] New: compute.c:464:49: error: function definition is not allowed here
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 18 10:07:59 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75165
Priority: medium
Bug ID: 75165
Assignee: mesa-dev at lists.freedesktop.org
Summary: compute.c:464:49: error: function definition is not
allowed here
Severity: blocker
Classification: Unclassified
OS: All
Reporter: vlee at freedesktop.org
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: Other
Product: Mesa
mesa: 20d14ef2633215c5d24741de76b5d59aa3dcbc22 (master)
Build error with clang when enabling gallium tests.
CC compute.o
compute.c:464:49: error: function definition is not allowed here
void init(void *p, int s, int x, int y) {
^
compute.c:496:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 0, expect, NULL);
^
compute.c:522:50: error: function definition is not allowed here
void init0(void *p, int s, int x, int y) {
^
compute.c:538:26: error: use of undeclared identifier 'init1'; did you mean
'init0'?
60, 12, init1);
^~~~~
init0
compute.c:522:14: note: 'init0' declared here
void init0(void *p, int s, int x, int y) {
^
compute.c:541:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 1, expect, NULL);
^
compute.c:588:49: error: function definition is not allowed here
void init(void *p, int s, int x, int y) {
^
compute.c:602:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 0, expect, NULL);
^
compute.c:624:49: error: function definition is not allowed here
void init(void *p, int s, int x, int y) {
^
compute.c:641:39: error: use of undeclared identifier 'input'
(uint32_t *[]){ &input[1], &input[3],
^
compute.c:641:50: error: use of undeclared identifier 'input'
(uint32_t *[]){ &input[1], &input[3],
^
compute.c:642:39: error: use of undeclared identifier 'input'
&input[5], &input[7] });
^
compute.c:642:50: error: use of undeclared identifier 'input'
&input[5], &input[7] });
^
compute.c:643:69: error: use of undeclared identifier 'input'
launch_grid(ctx, (uint []){4, 1, 1}, (uint []){1, 1, 1}, 0, input);
^
compute.c:644:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 0, expect, NULL);
^
compute.c:645:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 1, expect, NULL);
^
compute.c:646:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 2, expect, NULL);
^
compute.c:647:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 3, expect, NULL);
^
compute.c:694:49: error: function definition is not allowed here
void init(void *p, int s, int x, int y) {
^
compute.c:708:27: error: use of undeclared identifier 'expect'
check_tex(ctx, 0, expect, NULL);
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140218/9b461d36/attachment.html>
More information about the mesa-dev
mailing list