Sorry I have mistaken newsgroup. Now in English:
I wrote:
char *tmp_tmplt = const_cast<char *>("/tmp/dirtyphp_XXXXXX");
string tmp_filename = mkstemp(tmp_tmplt);
And I have compilation error:
src/obfuscator.cpp: In member function ‘std::__cxx11::string
obfuscator::check_not_allowed_syntax(std::__cxx11::string,
std::__cxx11::string, std::__cxx11::string)’:
src/obfuscator.cpp:147:34: error: conversion from ‘int’ to non-scalar
type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ requested
string tmp_filename = mkstemp(tmp_tmplt);
~~~~~~~^~~~~~~~~~~
I don't understand the error because tmp_tmplt is of type char*, not int.