We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I added a globals type of char to the wrong
config.json
"microdb_dsn": { "type": "char", "default": "", "ini-entry": { "name": "microdb.dsn", "scope": "PHP_INI_ALL" } }
Compiled c file
microdb_globals->microdb_dsn = ''";
So there is an error ! And comfile-errors.log
/Users/widuu/git/microdb/ext/microdb.c:102:33: warning: empty character constant [-Winvalid-pp-token] microdb_globals->microdb_dsn = ''"; ^ /Users/widuu/git/microdb/ext/microdb.c:102:33: error: expected expression /Users/widuu/git/microdb/ext/microdb.c:102:35: warning: missing terminating '"' character [-Winvalid-pp-token] microdb_globals->microdb_dsn = ''"; ^ 2 warnings and 1 error generated. make: *** [microdb.lo] Error 1 make: *** Waiting for unfinished jobs.... /Users/widuu/git/microdb/ext/microdb.c:102:33: warning: empty character constant [-Winvalid-pp-token] microdb_globals->microdb_dsn = ''"; ^ /Users/widuu/git/microdb/ext/microdb.c:102:33: error: expected expression /Users/widuu/git/microdb/ext/microdb.c:102:35: warning: missing terminating '"' character [-Winvalid-pp-token] microdb_globals->microdb_dsn = ''"; ^ 2 warnings and 1 error generated. make: *** [microdb.lo] Error 1
The text was updated successfully, but these errors were encountered:
Related #2280
Sorry, something went wrong.
Use string type instead. Available since version 0.15.1. Closing.
string
0.15.1
AlexNDRmac
No branches or pull requests
When I added a globals type of char to the wrong
config.json
Compiled c file
So there is an error ! And comfile-errors.log
The text was updated successfully, but these errors were encountered: