node-printer
node-printer copied to clipboard
pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste]
I started getting these errors recently. Anyone else getting similar errors while compiling for Windows?
..\src\node_printer_win.cc(220): error : pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(220): error : pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(220): error : pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(220): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(222): error : pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(222): error : pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(222): error : pasting formed '->pPrinterName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(222): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(224): error : pasting formed '->pUserName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(224): error : pasting formed '->pUserName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(224): error : pasting formed '->pUserName', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(224): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(226): error : pasting formed '->pDatatype', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(226): error : pasting formed '->pDatatype', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(214): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(226): error : pasting formed '->pDatatype', an invalid preprocessing token [-Winvalid-token-paste] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(226): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(216): note: expanded from macro 'ADD_V8_STRING_PROPERTY'
..\src\node_printer_win.cc(228): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(230): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(238): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
..\src\node_printer_win.cc(244): warning : ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] [c:\Dev\new\backstage-kiosk\jsapps\client\node_modules\printer\build\node_printer.vcxproj]
same here
same here