I'm trying to make Intellisense work on the MySQL source code, using Visual Studio Code on Ubuntu.
The project requires libmysqlclient-dev
, which is installed.
Even though I include the development headers path in the includePath
:
"includePath": [
"/usr/include/mysql",
"${workspaceFolder}/include"
],
(this is a part of the includes required; I've added many others to no avail)
the data types ulong
and uint
are not recognized, causing a flurry of errors:
identifier "uint" is undefined
identifier "ulong" is undefined
// and so on
This is strange, since I can see both types defined:
/usr/include/mysql/my_global.h
177:typedef unsigned int uint;
497:typedef unsigned long ulong; /* Short for unsigned long */
504:typedef unsigned long long int ulonglong; /* ulong or unsigned long long */
And the include directive is present (example file follows):
client/mysqldump.c
43:#include <my_global.h>
What am I missing?