Comments (6)
Oeps i see i did ask earlyer..
I still have no right solution for this error.
Please close this ..
from notepadnext.
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.
from notepadnext.
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.
from notepadnext.
Glad it worked!
from notepadnext.
Related Issues (20)
- Multi Session / Instances Support
- Add shortcut for expand and collapse function
- Add command-line argument to open to a line number in a file like notepad++ HOT 5
- Error: CreateDXGIFactory2 at dxgi.dll HOT 4
- Can't open large txt files (~100GiB) HOT 1
- fetch-pack: unexpected disconnect while reading sideband packet HOT 1
- Find/Replace dialog UI arrangement issues for Mac Version HOT 7
- [Bug] When show status bar is set to false, does not take effect after application restart HOT 1
- Exit the Application when the last tab closed HOT 2
- [MAC OS] Close the [New 1] tab after a file opened HOT 1
- Opening a file when another instance is already is running sometimes fails HOT 6
- [MAC] Double-click to open a file and cannot activate the minimized NN window HOT 5
- would you please support edit code styles by user HOT 3
- Better Linux Screenshot HOT 4
- [Feature request] Find index match count HOT 1
- [feature request] temporarily store files when close 'x' button for window is pressed HOT 1
- Notepad++ autosave feature HOT 1
- flatpak runtime end of life HOT 13
- can't type in the macOS HOT 3
- MacOS Dark Mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepadnext.