Displaying 2 results from an estimated 2 matches for "dummy_3".
Did you mean:
dummy_o
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 c foo.cpp
foo.cpp:22:3: error: call to 'foo'...
2003 Dec 01
0
No subject
...lve 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 specify " valid users =
@dummy_1 @dummy_2 ".
This behaviour creates unnecessary errortracking nuisances, when a user is
in a newly created
group dummy_3 and reports access problems, as UNIX "id" and "groups" will
report him as being member of dummy.
With best regards
Marc Franzmeier
Return-Path: <gcarter@valinux.com>
Delivered-To: samba@samba.org
Received: from mail.valinux.com (mail.valinux.com [198.186.202.175]) by...