[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with: #include <X11/Xlib.h>



Hello

I have a code that include the file "/usr/include/X11/Xlib.h", but when I try to compile I receive the parser error, see below:
       In file included from cube.cpp:32:
/usr/include/X11/Xlib.h: In function `char* XSetOMValues(_XOM*, ...)':
       /usr/include/X11/Xlib.h:3578: error: parse error before `(' token
/usr/include/X11/Xlib.h: In function `char* XGetOMValues(_XOM*, ...)':
       /usr/include/X11/Xlib.h:3583: error: parse error before `(' token
      ..............

How I can resolve this problem,
     Thank you,
           Gustavo

--
I'm thinking.                | \\  l\\l_ //    |
   _              _         |  \\/ `/  `.|    |
 /~\\   \        //~\       | Y |   |   ||  Y |
 |  \\   \      //  |       |  \|   |   |\ /  |
 [   ||        ||   ]       \   |  o|o  | >  /
] Y  ||        ||  Y [       \___\_--_ /_/__/
|  \_|l,------.l|_/  |       /.-\(____) /--.\
|   >'          `<   |       `--(______)----'
\  (/~`--____--'~\)  /           U// U / \
 `-_>-__________-<_-'            / \  / /|
     /(_#(__)#_)\               ( .) / / ]
     \___/__\___/                `.`' /   [
      /__`--'__\                  |`-'    |
   /\(__,>-~~ __)                 |       |__
/\//\\(  `--~~ )                 _l       |--:.
'\/  <^\      /^>               |  `   (  <   \\
     _\ >-__-< /_             ,-\  ,-~~->. \   `:.___,/
    (___\    /___)           (____/    (____)    `---'



Reply to: