marcopiraccini / marcopiraccini/electron-printer

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

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
51
Forks
28
PR merge metrics
No merged PRs in 30d

Description

*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 iV8Value, std::string &oData);
~~~~~~~~~^
../src/node_printer.hpp:123:57: error: use of undeclared identifier 'iV8Value'
bool getStringOrBufferFromV8Value(v8::Handle iV8Value, std::string &oData);
^
../src/node_printer.hpp:123:79: error: expected '(' for function-style cast or type construction
bool getStringOrBufferFromV8Value(v8::Handle iV8Value, std::string &oData);
~~~~~~~~~~~ ^
../src/node_printer.hpp:123:80: error: use of undeclared identifier 'oData'
bool getStringOrBufferFromV8Value(v8::Handle 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 result_printer_job)
../src/node_printer_posix.cc:126:10: error: variable has incomplete type 'void'
void populatePpdOptions(v8::Handle 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 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 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 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 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 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 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 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 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);

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Electron native-module build and inspect src/node_printer.hpp and src/node_printer_posix.cc, starting with the v8::Handle errors and the missing parsePrinterInfo reference. Done means the project builds without the reported compiler errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, electron
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.