Skip to content

Commit

Permalink
Fix exceptions on macOS
Browse files Browse the repository at this point in the history
EXCEPTIONS GO BRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR it's 3am and i need sleep i spent way too long on this stupid bug but thats how code goes anyways good night
  • Loading branch information
qwertychouskie committed Jul 1, 2024
1 parent 79ab7e6 commit 5712827
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@
},
"xcode_settings": {
"CLANG_CXX_LANGUAGE_STANDARD": "c++20",
"OTHER_CPLUSPLUSFLAGS": ["-fexceptions"]
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'GCC_ENABLE_CPP_RTTI': 'YES',
"OTHER_CPLUSPLUSFLAGS": ["-fexceptions"],
# 'MACOSX_DEPLOYMENT_TARGET': '14.0',
},
"cflags_cc": ["-std=c++20", '-fexceptions'],
"cflags": ["-std=c++20", '-fexceptions'],
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rev-robotics/can-bridge",
"version": "3.2.0",
"version": "3.2.6",
"author": "REV Robotics",
"description": "Access CAN Data from a USB device in Node.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion scripts/download-CanBridge.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import axios from 'axios';
import AdmZip from 'adm-zip';
import { platform, arch } from 'os';

const canBridgeTag = "v2.3.3";
const canBridgeTag = "v2.3.6";
const canBridgeReleaseAssetUrlPrefix = `https://github.com/unofficial-rev-port/CANBridge/releases/download/${canBridgeTag}`;

const externalCompileTimeDepsPath = 'externalCompileTimeDeps';
Expand Down

0 comments on commit 5712827

Please sign in to comment.