Commit Graph

1619 Commits

Author SHA1 Message Date
linhaojun857
62257a94b7 fix url parse bug 2023-09-15 08:56:17 +08:00
Leonid Stryzhevskyi
d4f0ab93c8
Merge pull request #845 from fhuberts/clang
Add Clang support
2023-09-09 01:22:57 +03:00
Ferry Huberts
81e05099ad Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-07 08:07:33 +02:00
Ferry Huberts
6d9f9bb5e2 Merge branch 'master' into clang
* master:
  Fix v_sock_size definition
  Use auto for 2 locals
  Convert uses of socklen_t to v_sock_size
  Introduce v_sock_size for socklen_t
2023-09-07 08:03:04 +02:00
Leonid Stryzhevskyi
cc09632a14
Merge pull request #842 from fhuberts/fix-Wsign-conversion
Fix compiler warnings in compilation units (-Wsign-conversion)
2023-09-07 01:13:54 +03:00
Ferry Huberts
11852eb3b5 Fix v_sock_size definition
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 09:11:20 +02:00
Ferry Huberts
defda0ff16 Use auto for 2 locals
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 08:44:53 +02:00
Ferry Huberts
02936f7087 Convert uses of socklen_t to v_sock_size 2023-09-06 08:44:53 +02:00
Ferry Huberts
fd29f31a5c Introduce v_sock_size for socklen_t
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 08:44:53 +02:00
Ferry Huberts
46fd1a6078 Fix Clang compiler warnings (-Wno-float-equal)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
cc929ed690 Fix Clang compiler warnings (-Wunused-lambda-capture)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
e54fad7fa4 Fix Clang compiler warnings (-Wunused-exception-parameter)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
44c37df002 Fix a few Clang compiler warnings (-Wsuggest-destructor-override)
A few are left

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
ccfc3f8422 Fix Clang compiler warnings (-Wsign-conversion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
330f64dd95 Fix Clang compiler warnings (-Winconsistent-missing-destructor-override)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
9a2854be58 Fix a few Clang compiler warnings (-Wunreachable-code-return)
1 left:

src/oatpp/core/async/Coroutine.cpp:325:10: warning: 'return' will never be executed [-Wunreachable-code-return]
  return std::forward<oatpp::async::Action>(action);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
a93fa88897 Fix Clang compiler warnings (-Wshadow)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
244a86118d Fix Clang compiler warning (-Wconditional-uninitialized)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
82beea0071 Fix Clang compiler warnings (-Wnewline-eof)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
aa02f4bb3f Fix Clang compiler warnings (-Wextra-semi-stmt)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
7c0ef28449 Fix Clang compiler warnings (-Wextra-semi)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
97452f0c91 Add Clang compiler flags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
485c464c93 Windows doesn't know ssize_t
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-31 21:57:19 +02:00
Leonid Stryzhevskyi
1854573010
Merge pull request #835 from fhuberts/fix-Wsign-conversion-headers
Fix compiler warnings in headers (-Wsign-conversion)
2023-08-31 02:52:46 +03:00
Ferry Huberts
1f9ad05fa5 Fix compiler warnings in compilation units (-Wsign-conversion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-27 10:46:52 +02:00
Ferry Huberts
9e88481674 Fix compiler warnings in headers (-Wsign-conversion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-27 10:46:52 +02:00
Leonid Stryzhevskyi
104c4eb011
Merge pull request #828 from fhuberts/fix-Wsign-compare
Fix compiler warnings (-Wsign-compare)
2023-08-24 00:34:40 +03:00
Leonid Stryzhevskyi
1f008731dd
Merge pull request #832 from patrikhuss/master
Fix issue with "100 Continue" response not sent correctly
2023-08-24 00:07:06 +03:00
patrikhuss
7c0e12e5f6 Fix issue with "100 Continue" response not sent correctly
fixes #607

Signed-off-by: Patrik Huss <patrik.huss@ctek.com>
2023-08-23 09:55:19 +02:00
Leonid Stryzhevskyi
6c04c92f3d
Merge pull request #829 from fhuberts/fix-Wuseless-cast
Fix compiler warnings (-Wuseless-cast)
2023-08-21 02:32:02 +03:00
Ferry Huberts
e8ace1808f Fix an additional useless-cast warning, as reported on Debian 12 x64
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-19 09:47:51 +02:00
Leonid Stryzhevskyi
72807d83ee
Merge pull request #826 from fhuberts/fix-Wlogical-op
Fix compiler warnings (-Wlogical-op)
2023-08-19 10:22:56 +03:00
Leonid Stryzhevskyi
2248156afa
Merge pull request #825 from fhuberts/fix-Wsuggest-attribute=noreturn
Fix compiler warnings (-Wsuggest-attribute=noreturn)
2023-08-19 10:20:37 +03:00
Ferry Huberts
dfc5e913f8 Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-19 08:30:57 +02:00
Ferry Huberts
7abf37dc9e Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-19 08:20:41 +02:00
Leonid Stryzhevskyi
ae908b82ee
Merge pull request #827 from fhuberts/fix-Wsuggest-attribute=cold
Enable compiler warnings (-Wsuggest-attribute=cold)
2023-08-19 03:27:37 +03:00
Leonid Stryzhevskyi
217515591e
Merge pull request #824 from fhuberts/fix-Wshadow
Fix compiler warnings (-Wshadow)
2023-08-19 03:15:28 +03:00
Leonid Stryzhevskyi
4839095677
Merge pull request #823 from fhuberts/fix-Wdouble-promotion
Fix compiler warnings (-Wdouble-promotion)
2023-08-19 03:14:15 +03:00
Ferry Huberts
f49b3bf0e5 Fix compiler warnings (-Wuseless-cast)
The compiler didn't catch this one in the oatpp build, but did catch it
in the project in which we integrated oatpp.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 10:09:52 +02:00
Ferry Huberts
fabcc79ee1 Fix compiler warnings (-Wsign-compare)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:49:58 +02:00
Ferry Huberts
0bdc3b6aaa Enable compiler warnings (-Wsuggest-attribute=cold)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:46:51 +02:00
Ferry Huberts
f6f2d27b85 Fix compiler warnings (-Wlogical-op)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:46:15 +02:00
Ferry Huberts
4652ad8682 Fix compiler warnings (-Wsuggest-attribute=noreturn)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:45:52 +02:00
Ferry Huberts
91a7b3ef9c Fix compiler warnings (-Wshadow)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:45:19 +02:00
Ferry Huberts
4b82a5cadd Fix compiler warnings (-Wdouble-promotion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:44:35 +02:00
Leonid Stryzhevskyi
78f2232012
Merge pull request #822 from fhuberts/fix-Wdangling-reference
Fix compiler warnings (-Wdangling-reference)
2023-08-17 01:57:59 +03:00
Leonid Stryzhevskyi
75fc72b02c
Merge pull request #821 from fhuberts/fix-Wconversion
Fix compiler warnings (-Wconversion)
2023-08-17 01:56:31 +03:00
Leonid Stryzhevskyi
61f394ad4f
Merge pull request #820 from fhuberts/fix-Warith-conversion
Enable compiler warnings (-Warith-conversion)
2023-08-17 01:54:41 +03:00
Leonid Stryzhevskyi
ddd05b6ef5
Merge pull request #819 from fhuberts/fix-Wsuggest-attribute=format
Fix compiler warnings (-Wsuggest-attribute=format)
2023-08-17 01:53:28 +03:00
Leonid Stryzhevskyi
adb6ac0184
Merge pull request #818 from fhuberts/fix-Wuseless-cast
Fix compiler warnings (-Wuseless-cast)
2023-08-17 01:51:00 +03:00