Skip to content

Instantly share code, notes, and snippets.

@vortec
Created April 21, 2014 19:08
Show Gist options
  • Select an option

  • Save vortec/11153053 to your computer and use it in GitHub Desktop.

Select an option

Save vortec/11153053 to your computer and use it in GitHub Desktop.
Compiling vfs_python.c
commands.c: In function ‘python_connect’:
commands.c:15:22: warning: initialization from incompatible pointer type [enabled by default]
commands.c:18:3: warning: passing argument 2 of ‘PyObject_CallFunction’ discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/include/python2.7/abstract.h:326:29: note: expected ‘char *’ but argument is of type ‘const char *’
commands.c: In function ‘python_mkdir’:
commands.c:45:22: warning: initialization from incompatible pointer type [enabled by default]
commands.c:48:3: warning: passing argument 2 of ‘PyObject_CallFunction’ discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/include/python2.7/abstract.h:326:29: note: expected ‘char *’ but argument is of type ‘const char *’
python_importer.c: In function ‘get_py_mod’:
python_importer.c:51:5: warning: return from incompatible pointer type [enabled by default]
python_importer.c: In function ‘get_py_func’:
python_importer.c:64:13: warning: return from incompatible pointer type [enabled by default]
python_importer.c: In function ‘get_func’:
python_importer.c:79:20: warning: assignment from incompatible pointer type [enabled by default]
Linking vfs_python.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment