Displaying 2 results from an estimated 2 matches for "dummy_1".
Did you mean:
dummy1
2013 Aug 02
0
[LLVMdev] Clang (3.1 and 3.2): __attribute__((overloadable)) and enum types.
Hello,
I was trying to use __attribute__((overloadable)) for functions accepting enumerated types but hadn't succeeded so far.
Clang 3.1 and 3.2 failed to compile the following example.
/* clang -x c foo.cpp */
typedef enum __One {DUMMY_1} One;
typedef enum {DUMMY_2} Two;
enum Three {DUMMY_3};
__attribute__((overloadable)) void foo(One);
__attribute__((overloadable)) void foo(Two);
__attribute__((overloadable)) void foo(enum Three);
int main()
{
foo(DUMMY_1);
return 0;
}
Providing me with the following error message:
$ clang -x...
2003 Dec 01
0
No subject
...numeric id's that are compared.
BACKGROUND:
I'm working in a large organisation, where the number of group members
occasionally hits the
1024 character per group limit ( Solaris 2.6 ).
The standard workaround is to create groups with different names, but
identical gid; eg:
dummy:*:4000:
dummy_1:*:4000:user_1,user_2,...
dummy_2:*:4000:user_128,user_129,...
In UNIX tradition a specification in SAMBA for " valid users = @dummy "
should resolve to
all users of groups with gid 4000 which in the example are dummy, dummy_1
and dummy_2.
In all versions ( 1.9.x 2.0.x 2.2.x ) I have to...