[ create a new paste ] login | about

Link: http://codepad.org/elXbtetF    [ raw code | output | fork ]

C++, pasted on Feb 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
qml:
                MenuItem {
                    visible: commentPrivileges & MnemosyManager.CanDelete
                    text: qsTr ("Delete")
                }
model:
        case CRPrivileges:
            return static_cast<int> (comment->GetPrivileges ());

        enum Privilege
        {
            Reply = 0x0,
            Edit = 0x1,
            Delete = 0x2,
            Freeze = 0x4,
            Unfreeze = 0x8,
            Spam = 0x16,
            Unspam = 0x32,
            Screen = 0x64,
            Unscreen = 0x128
        };


Output:
1
2
Line 1: error: invalid function declaration
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: