marcopiraccini / electron-printer

node-printer fork to be used with electron
51 stars 28 forks source link

fatal error: too many errors emitted, stopping now [-ferror-limit=] 23 warnings and 20 errors generated. #5

Open lilian131 opened 5 years ago

lilian131 commented 5 years ago

some errors:

../src/node_printer.hpp:123:39:** error: no member named 'Handle' in namespace 'v8' bool getStringOrBufferFromV8Value(v8::Handle iV8Value, std::string &oData);


../src/node_printer.hpp:123:55: error: expected '(' for function-style cast or type construction
bool getStringOrBufferFromV8Value(v8::Handle<v8::Value> iV8Value, std::string &oData);
                                             ~~~~~~~~~^
../src/node_printer.hpp:123:57: error: use of undeclared identifier 'iV8Value'
bool getStringOrBufferFromV8Value(v8::Handle<v8::Value> iV8Value, std::string &oData);
                                                        ^
../src/node_printer.hpp:123:79: error: expected '(' for function-style cast or type construction
bool getStringOrBufferFromV8Value(v8::Handle<v8::Value> iV8Value, std::string &oData);
                                                                  ~~~~~~~~~~~ ^
../src/node_printer.hpp:123:80: error: use of undeclared identifier 'oData'
bool getStringOrBufferFromV8Value(v8::Handle<v8::Value> iV8Value, std::string &oData);
                                                                               ^
../src/node_printer_posix.cc:70:59: error: no template named 'Handle' in namespace 'v8'
    std::string parseJobObject(const cups_job_t *job, v8::Handle<v8::Object> result_printer_job)
../src/node_printer_posix.cc:126:10: error: variable has incomplete type 'void'
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
         ^
../src/node_printer_posix.cc:126:33: error: no member named 'Handle' in namespace 'v8'
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                            ~~~~^
../src/node_printer_posix.cc:126:50: error: expected '(' for function-style cast or type construction
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                       ~~~~~~~~~~^
../src/node_printer_posix.cc:126:52: error: use of undeclared identifier 'ppd_options'
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                                   ^
../src/node_printer_posix.cc:126:65: error: unexpected type name 'ppd_file_t': expected expression
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                                                ^
../src/node_printer_posix.cc:126:78: error: use of undeclared identifier 'ppd'
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                                                             ^
../src/node_printer_posix.cc:126:83: error: unexpected type name 'ppd_group_t': expected expression
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                                                                  ^
../src/node_printer_posix.cc:126:96: error: use of undeclared identifier 'group'
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                                                                               ^
../src/node_printer_posix.cc:126:102: error: expected ';' after top level declarator
    void populatePpdOptions(v8::Handle<v8::Object> ppd_options, ppd_file_t  *ppd, ppd_group_t *group)
                                                                                                     ^
                                                                                                     ;
../src/node_printer_posix.cc:283:21: error: use of undeclared identifier 'parsePrinterInfo'
        error_str = parsePrinterInfo(printer, result_printer);