Warning: Conflicting distributed object modifiers .


I’m getting a warning in PossessionStore.m that reads "Conflicting distributed object modifiers on return type in implementation of ‘release’. I get it in on this stub method:

- (void)release
    // nada

Doesn’t seem to cause any problems. Just wondering what’s going on.




Found the answer on StackOverflow. It needs to be defined like so:

- (oneway void) {
    // nada

Adding that “oneway” directive gets rid of the warning.

Source: stackoverflow.com/questions/7379 … es-warning