[Vala] ProcessSignal compile error

The following code:

using GLib;

void main()
    message("KILL value = %i", (int)ProcessSignal.KILL);

Gives the following compile error:

test.c: In function '_main':
test.c:13: error: 'G_PROCESS_SIGNAL_KILL' undeclared (first use in
this function)
test.c:13: error: (Each undeclared identifier is reported only once
test.c:13: error: for each function it appears in.)
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)

I assume this should work?  If so let me know if I should add to bug
tracker, etc.


Cliff Brake

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]