-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(build): tidyBufAppend(&buf1, d->def, strlen(d->def)); #721
Comments
@Kristinita thanks for the issue... Yes, some distros can sometimes be very slow to catch up to the latest release. That is particularly true for Ubuntu! The last time I checked, even with my 16.04.4 LTS, which you should upgrade to, it is still a tidy 2009 version, Even the Jonathon F launchpad backport is still on tidy Anything you could do about that like filing an update bug with them would be most appreciated... And likewise we stopped shipping a binary .deb around the same time... Thankfully cloning and building tidy from source is usually very simple in linux. So you can benefit from the very latest We have our own BUILD.md. And note the Note, it appears you did not add But I consider And I would add And yes, we have allowed two warnings to creep into the compile of Will leave this open to remind me to do that small fix, probably with a |
@Kristinita happened to be working in linux, and experimented with a quick fix for these gcc warnings... Have pushed the results to the Appreciate any testing and reporting ... thanks... |
If I agree that Is a way below recommended for Ubuntu? $ sudo apt-get install xsltproc
$ git clone https://github.com/htacg/tidy-html5.git
$ cd tidy-html5
$ cd build/cmake
$ cmake ../.. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIB:BOOL=OFF
$ make
$ sudo make install Thanks. |
1. Update local Python dependencies — https://docs.pipenv.org/basics/#example-pipenv-upgrade-workflow , 2. Fix sensitive blank lines in CODE_OF_CONDUCT.md — EthicalSource/contributor_covenant#528 , 3. Fix HTML Tidy build warnings — htacg/tidy-html5#721 4. Add exit codes for validation scripts — https://blog.travis-ci.com/after_script_behavior_changes/ .
1. Update local Python dependencies — https://docs.pipenv.org/basics/#example-pipenv-upgrade-workflow , 2. Fix sensitive blank lines in CODE_OF_CONDUCT.md — EthicalSource/contributor_covenant#528 , 3. Fix HTML Tidy build warnings — htacg/tidy-html5#721 , 4. Add exit codes for validation scripts — https://blog.travis-ci.com/after_script_behavior_changes/ .
1. Update local Python dependencies — https://docs.pipenv.org/basics/#example-pipenv-upgrade-workflow 2. Fix sensitive blank lines in CODE_OF_CONDUCT.md — EthicalSource/contributor_covenant#528 3. Fix HTML Tidy build warnings — htacg/tidy-html5#721 4. Add exit codes for validation scripts — https://blog.travis-ci.com/after_script_behavior_changes/
@Kristinita well the If you are just going to use the console app It also means you have no other applications in your system that depend on And it also means you do not want or need to write your own applications, like our sample app, or like some other samples in my test-tidy repository, or you absolutely prefer to only link with the static There are even some in the unix/linux community that prefer to build the console app And further concerning the shared library, and tidy headers, you have to make sure older version are still not installed... See #707, and several others, especially where version And that also means to try to be consistent with the install location, like using In building in Windows, there are other good reason why the shared library, there called a DLL, is less important, but that is because a DLL there takes more effort to get it setup correctly... but not impossible... So you can see giving a recommendation depends on many other things... HTH. |
1. Update local Python dependencies — https://docs.pipenv.org/basics/#example-pipenv-upgrade-workflow 2. Fix sensitive blank lines in CODE_OF_CONDUCT.md — EthicalSource/contributor_covenant#528 3. Fix HTML Tidy build warnings — htacg/tidy-html5#721 4. Add exit codes for validation scripts — https://blog.travis-ci.com/after_script_behavior_changes/
@Kristinita warning fix PR #722 now merged, and got a clean build for version 5.7.14... thanks... |
1. Summary
I get warnings in console, when I build HTML Tidy.
2. Argumentation
I would install HTML Tidy on Ubuntu easily, use
sudo apt install tidy
, but I get very outdated version.I need build HTML Tidy for latest version usage. I build HTML Tidy as in this article.
3. Environment
See more information, if neediest in Travis CI Build system information.
4. Steps to reproduce
See
.travis.yml
onSashaCompiling
branch of my demo repository.5. Expected behavior
No warnings in console.
6. Actual behavior
See on Travis CI:
Thanks.
The text was updated successfully, but these errors were encountered: