Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

Added MinGW makefile (works on appveyor). #229

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dejbug
Copy link

@dejbug dejbug commented Jul 26, 2018

I was going to add a minor feature (a setting to disable filevars except for explicitly enabled ones, i.e. with "enable-local-variables=1"), to do that I had first to be able to compile the project on my machine (old winxp box). I wanted to do the whole CMake thing, but writing a makefile was for me the quickest approach. I had to rewrite version.sh into a python script (and to make it work on appveyor, I had to fix some of its logic).

This is my first pull request ever. Please bear with me 😸 !

dejbug added 2 commits July 22, 2018 13:57
The code needs a few (minor) fixes for things which give the more pedantic GCC some trouble.

  - possible uses of uninitialized variables
  - signed-unsigned comparisons
  - missing fields in initializers
  - missing casts
  - missing braces
  - 'escapes' at EOLs (in comments)
  - a nested comment
@zufuliu
Copy link
Contributor

zufuliu commented Jul 26, 2018

Maybe I could use your makefile, see zufuliu/notepad4#2 and https://github.com/zufuliu/notepad2/wiki/Build-Notepad2#gcc

@dejbug
Copy link
Author

dejbug commented Jul 26, 2018

I see. I'll fix this soon. 👍

@dejbug
Copy link
Author

dejbug commented Jul 26, 2018

@zufuliu of course! 😄 You should delete the inline overrides (lines 69-77) though. It's rubbish; a carry-over from my initial fiddlings and I just saw that the variables are wrong.

@zufuliu
Copy link
Contributor

zufuliu commented Jul 27, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants