Comments (5)
We can make workaround similar to one from timertt library. It will work for VS2015 builds on x32/x64 platforms.
from restinio.
I tried replacing alignas( std::max_align_t ) with __declspec(align(8)) in the two aformentioned lines in buffers.hpp. For VS2015 Win32 builds, it chokes with exactly the same errors. VS2015 (Win32 builds) just cannot honor aligned function parameters. VS2015 (x64 builds) however always compiles fine.
I think TIMERTT_ALIGNAS_WORKAROUND in SObjectizer/timertt library should have similar problems with VS2015 Win32 builds.
from restinio.
Just tested on VS2017, both x86 and x64 builds work fine. So the issue is specific to x86 builds in VS2015 (and probably prior versions).
from restinio.
Which version of VS2015's compiler do you have?
I'm trying version 19.00.24210 now and it supports alignas
and alignof
keywords.
This version also compiles sobjectizer/timertt cleanly.
from restinio.
@binglongx, please, check out v.0.4.0.1 (or current master), it has fixes for the issue.
from restinio.
Related Issues (20)
- New overload for sendfile and std::filesystem::path?
- CMake configure fails when using boost asio via find HOT 9
- vcpkg should have a variant with RESTinio+Boost.Asio HOT 1
- There should be operator<< for http_status_code_t
- static_if_impl has to be replaced with if constexpr
- There is no such type as generic_request_handler_t
- build system regression: RESTINIO_USE_EXTERNAL_SOBJECTIZER no longer available HOT 3
- allow using catch2 from system HOT 8
- Slow compilation HOT 2
- HTTP/2 and HTTP/3 HOT 1
- Is ninja supported? HOT 2
- Do not use SO_REUSEADDR on Window by default
- Question: How to get http_server_t<> address HOT 2
- display webpage of directory listing HOT 1
- Many tests fail: failed to start server on 127.0.0.1:8086: bind: Address already in use HOT 1
- Fails to find system Catch2: include could not find requested file: Catch HOT 1
- RESTinio For QNX7.1 HOT 2
- Http server cuts response body HOT 5
- restinio-0.7.2-full.zip could not be used as CMake external project, in fact it is only suitable for add_subdirectory() to your project HOT 1
- Many tests fail: bind: Address already in use
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 restinio.