Tom G. Huang
2aed411a4a
Merge pull request #29 from wsbu/feature/fix-err_h-header
Fix `err.h` inclusion to only be used on Linux
6 years ago
ricksteiling
bd9b319c3f
Merge pull request #3 from wsbu/feature/err_h_linux
MAN-383: Restore __linux__ test for err.h inclusion
6 years ago
Rick Steiling
1cacf5756f
Bump conan recipe to pre-release -3
6 years ago
Rick Steiling
31d9761ba9
Restore !__linux__ guard for err.h
<err.h> is something that is only available for __linux__ builds, and
all other builds (including embedded) require a specific implementation
for warnx.
6 years ago
Tom G. Huang
aed5c65f81
Merge pull request #27 from wsbu/feature/update-cmake
Update CMake build system and add support for Conan package manager
6 years ago
David Zemon
a9032df1ce
Merge pull request #2 from wsbu/feature/fix-conan-recipe
Fix broken Conan recipe
6 years ago
David Zemon
6a14f29b21
Fix broken Conan recipe
6 years ago
ricksteiling
5fc68aac33
Merge pull request #1 from wsbu/feature/export_arg_print_formatted
MAN-383: Public arg_print_formatted and getopt cleanup
6 years ago
Rick Steiling
b369841d17
Update version to -2
6 years ago
Rick Steiling
59d40f230c
Update for gettopt compatibility
* Update REPLACE_GETOPT definition to be _WIN32-specific
* Update REPLACE_GETOPT guards to actually exclude re-implementation of
all system-based functions and include getopt.h
* Replace _WIN32 guard for <err.h>
6 years ago
Rick Steiling
61743612fb
Re-declare arg_print_formatted as non-static
6 years ago
David Zemon
4dcce447b1
Add support for Conan package manager
Rearrange folder structure to better support embedded systems with Conan
6 years ago
David Zemon
1c5c7008a7
Add support for embedded systems without err.h
6 years ago
David Zemon
49c2eea357
Significantly updated CMake build system
6 years ago
David Zemon
43fb9b07ba
Update ignore file
6 years ago
SurreyLabs Technology Inc
fd5b95db84
Add copyright notice from NetBSD getopt library
7 years ago
SurreyLabs Technology Inc
3e2c84c0b9
Update LICENSE
Add copyright notice from NetBSD getopt library.
7 years ago
SurreyLabs Technology Inc
46bed8b777
Update README.md
Add copyright notice from NetBSD getopt library.
7 years ago
SurreyLabs Technology Inc
f2ce1741e8
Merge pull request #15 from brainstorm/master
Unused rcsid variable throws compile error with newest GCC 7.2.0
7 years ago
Roman Valls Guimera
6a511d68dd
Unused rcsid variable throws compile error with newest GCC 7.2.0
7 years ago
Tom G. Huang
611d160859
Update README.md
Explain how to use CMake.
7 years ago
Tom G. Huang
9b4cb977fc
fix(cmakelists): Minor coding style refactoring
7 years ago
Tom G. Huang
c8a6e4d2e0
fix(cmakelists): Make CMakeLists portable across toolchains
7 years ago
Tom G. Huang
80fdf99b16
fix(cutest): Remove size_t related compiler warnings in x64 toolchain
7 years ago
Tom G. Huang
ecfbcf0a53
fix(makefile): Remove duplicated dependencies
7 years ago
Tom G. Huang
86f3e7afc4
fix(gitignore): Make .gitignore an exception
7 years ago
Tom G. Huang
6fdbaabb50
Merge pull request #9 from KindDragon/master
CMake build script added
7 years ago
SurreyLabs Technology Inc
43fab8a515
Update README.md
7 years ago
Tom G. Huang
62dbb9f8dd
fix(argtable3): Visual C++ x64 compiler warning
7 years ago
Tom G. Huang
1d44db7e08
chord(proj): Add makefiles in root folder for Travis CI
7 years ago
SurreyLabs Technology Inc
e5e6d8c348
Merge pull request #10 from fenglc/master
Add Makefile.nmake
7 years ago
SurreyLabs Technology Inc
7a35912535
Merge pull request #14 from zangue/issue-1-fix
Fix 'use of undeclared identifier ...' compilation error
7 years ago
Tom G. Huang
e46ac7683d
chord(proj): Add Travis CI config to prevent CI errors on GitHub
7 years ago
Armand Zangue
36abc60aad
fix 'use of undeclared identifier' compilation error
7 years ago
Tom G. Huang
9e0d653d4e
Merge pull request #11 from aegoroff/master
Windows compilation when STDC_WANT_SECURE_LIB enabled fixed. Crash in case of using Unicode character set as application default character set on Windows fixed too.
8 years ago
egoroff
02f1a37cac
Windows compilation when STDC_WANT_SECURE_LIB enabled fixed. Crash in case of using Unicode character set as application default character set on Windows fixed too.
8 years ago
fenglc
b4748d83b2
Add Makefile.nmake
8 years ago
Arkadiy Shapkin
f0bc6782f3
CMake build script added
8 years ago
Tom G. Huang
7e187ec7d7
Fix some Markdown formatting issues
8 years ago
Tom G. Huang
d067f770f0
Merge pull request #8 from KindDragon/patch-1
Rename README to README.md
8 years ago
Arkady Shapkin
48c894662c
Rename README to README.md
8 years ago
Tom G. Huang
de93cfd85f
Merge pull request #4 from vincentbernat/fix/various-warnings
Fix various warnings
10 years ago
Tom G. Huang
cb329ee787
Merge pull request #5 from argtable-fixes/warnx_win32
Fixed format string misuse (V618) and not zero-terminated string (C6053) warnings in win32 'warnx' implementation
10 years ago
Tom G. Huang
4f8fc7f7f9
Merge pull request #3 from vincentbernat/fix/undeclared-warnx
Include "err.h" to be able to use `warnx()`
10 years ago
argtable-fixes
e90db14245
Fixed format string misuse (V618) and not zero-terminated string (C6053) warnings in win32 'warnx' implementation
10 years ago
Vincent Bernat
65cf69e222
Fix pointer arithmetic in regular expression handling
`*str++` was returned in several places while the `trex_matchnode()`
function is expected to return a pointer to `TRexChar` (and `str` is
also a pointer to `TRexChar`). So, we fix that by returning `str++`
instead.
Moreover, a pair of curly braces make the `OP_DOT` matcher not return
the appropriate value.
10 years ago
Vincent Bernat
b0fd3491a7
Comment out unused `dump_longoptions()` function.
All the invocations of this function are commented out. Just don't
compile it.
10 years ago
Vincent Bernat
ec4ad35cdc
Use parentheses around `&&` withing `||`
While the current form is perfectly valid, using parentheses around `&&`
would prevent future errors when modifiying the expression.
10 years ago
Vincent Bernat
9ecad8dc45
Remove unused variables.
This includes both variables set but not
used (`-Wunused-but-set-variable`) and plain unused
variables (`-Wunused-variable`).
10 years ago
Vincent Bernat
590a432538
Include "err.h" to be able to use `warnx()`
10 years ago