Giter VIP home page Giter VIP logo

Comments (6)

TeLLie avatar TeLLie commented on May 18, 2024

Oeps i see i did ask earlyer..

I still have no right solution for this error.

Please close this ..

from notepadnext.

dail8859 avatar dail8859 commented on May 18, 2024

According to this stackoverflow answer, it may be due to using an older compiler and they have some suggested changes. If you do figure it out I'll gladly accept a PR but won't be able to test it myself. As long as it still builds on Windows that's fine with me.

from notepadnext.

TeLLie avatar TeLLie commented on May 18, 2024

from notepadnext.

dail8859 avatar dail8859 commented on May 18, 2024

I would guess that is new enough. Your g++ command shows -std=gnu++1z which Google shows this supports c++17 which is sufficient.

Looking more into your error message shows:

no matching function for call to 'std::basic_ifstream::basic_ifstream(const wchar_t*&, std::_Ios_Openmode)'

The wchar_t type is a left over of this code being first developed in a very Windows specific environment. So it sounds like it is due to the char type, and not the fstream.

note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(std::basic_ifstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits]'

Suggests it wants a char and not a wchar_t.

Looking at this section of code, this function isn't even used and if it ever would be needed should be rewritten into a Qt specific implementation.


I just pushed a commit to the dev branch which hopes to fix this issue. Let me know.

from notepadnext.

TeLLie avatar TeLLie commented on May 18, 2024

from notepadnext.

dail8859 avatar dail8859 commented on May 18, 2024

Glad it worked!

from notepadnext.

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.