translated from the Java:
public enum WeekDay {
DAY_1,
...
DAY_7;
}
When I try building the project, these get marked with the error "Expected selector for Objective-C method".
I tried renaming these enums to:
DAY_1,
DAY2,
DAYS_3,
ADAY_4,
DAY_FIVE,
ABDAY_6,
DAY_0;
and retranslating it. With these new names, only DAY_1 and ABDAY_6 report the error. Could it be related to these http://www.gnu.org/software/libc/manual/html_mono/libc.html#The-Elegant-and-Fast-Way ?
If possible, I'd like to resolve this problem without needing to rename the enums. These also worked fine before I switched to using JRE.framework
--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So what this means is that enums cannot share a name with C constants...does that mean they need to be prefixed, like classes? Would the same problem occur if an integrator used another 3rd party library that also defined these constants? What about static fields (translated from Java)?