Custom Query (33 matches)


Show under each result:

Results (1 - 3 of 33)

1 2 3 4 5 6 7 8 9 10 11
Ticket Owner Reporter Resolution Summary
#1 jsoumagne dkimpe fixed Boost version dependency

Currently required 1.50; Is that really needed?

Might be that the functionality we use is supported by older versions.

(Ubuntu 13.04 currently comes with version 1.49)

#4 jsoumagne carns fixed Support RPCs with no input arguments

It would be helpful to support RPC functions that have no input parameters (examples: "noop" operation, or a "shutdown" operation).

It is possible that Mercury supports this already but I just can't figure out how to do it properly. An example test case for this in the Mercury repo might be helpful if that is the case.

I tried two guesses: a) omitting the MERCURY_GEN_PROC call for the input struct and passing in either void or NULL as appropriate for the various register and forward function calls. b) calling MERCURY_GEN_PROC with only one argument to try to create an empty input struct.

a) produces a variety of compile errors, including "‘hg_proc_void’ undeclared", while b) produces a "error: macro "MERCURY_GEN_PROC" requires 2 arguments, but only 1 given" error message.

#7 jsoumagne carns fixed -Wundef warnings in mercury headers

If -Wundef is enabled for projects that use the Mercury, then the Mercury headers will produce the following warnings in gcc:

/home/pcarns/working/mercury/install/include/mercury_error.h:25:5: warning: "__STDC_VERSION__" is not defined [-Wundef]
/home/pcarns/working/mercury/install/include/mercury_error.h:31:7: warning: "_WIN32" is not defined [-Wundef]
In file included from ../src/remote/
/home/pcarns/working/mercury/install/include/mercury_proc.h:197:20: warning: "__GNUC_STDC_INLINE__" is not defined [-Wundef]

These can probably be trivially fixed by replacing the "#if <whatever>" blocks by "if defined <something> && if <whatever>" in the headers.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.