Giter VIP home page Giter VIP logo

Comments (5)

brwarner avatar brwarner commented on September 2, 2024

Hey Nordsoft,

Thanks for reporting this. I'll give it a shot on Linux when I next put some time into this.

Just to check, are you compiling with C++17 features enabled on your compiler? I setup CMake to enable it but I'm not sure it works on all environments.

from inkcpp.

2shady4u avatar 2shady4u commented on September 2, 2024

@brwarner Just tested out Github Actions for Windows, Linux and MacOS.

https://github.com/2shady4u/inkcpp/actions

Seems there's still some work to make the code truly platform-agnostic.

PS: This fork uses the scons build system instead of cmake to generate platform-dependent build files. Unfortunately I don't have the proper knowledge/experience about cmake to implement this in Github Actions... 🤔

from inkcpp.

Nordsoft91 avatar Nordsoft91 commented on September 2, 2024

@brwarner, yes, C++17 used. Quick review has shown:

  • There are some platform-specific functions you use, e.g. _itoa_s.
  • Template specialization should be out of class definition
  • std::exception doesn't receive std::string in ctor, better to use std::runtime_error or std::logic_error (or create own expectation inherits std::exception)

from inkcpp.

brwarner avatar brwarner commented on September 2, 2024

Thanks. I'm part way there in the new platform branch. There's some sticky template shenanigans that I'm having trouble parsing but I'll take a look at them next time.

from inkcpp.

brwarner avatar brwarner commented on September 2, 2024

With some help from JBrenda this should now compile on Linux. There may be other issues, which I'll try to look into.

from inkcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.