Skip to content
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

v1.12.0 and v1.12.1 Poco::Any compile problem #3692

Closed
sleikang opened this issue Jul 18, 2022 · 6 comments
Closed

v1.12.0 and v1.12.1 Poco::Any compile problem #3692

sleikang opened this issue Jul 18, 2022 · 6 comments
Labels

Comments

@sleikang
Copy link

Poco\include\Poco\Any.h(124,1): fatal error C1001: 内部编译器错误。
1>C:\Dll\Poco\include\Poco\Any.h(210): message : 查看对正在编译的 类 模板 实例化“Poco::Placeholder<PlaceholderT,SizeV>”的引用
1>“D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\CL.exe”中的内部编译器错误
image

@sleikang sleikang added the bug label Jul 18, 2022
@aleks-f
Copy link
Member

aleks-f commented Jul 18, 2022

Sorry, but we do not understand. Please use English.

@aleks-f aleks-f removed the bug label Jul 18, 2022
@aleks-f
Copy link
Member

aleks-f commented Jul 18, 2022

#3682
#3683

@sleikang
Copy link
Author

@aleks-f There is no problem with versions below 1.11.3. Versions above 1.12.0 will cause internal errors when compiling in Windows Visual Studio from the Poco/ any.h header file

@sleikang sleikang reopened this Jul 19, 2022
aleks-f added a commit that referenced this issue Jul 25, 2022
aleks-f added a commit that referenced this issue Jul 26, 2022
* fix(Thread_POSIX): sleep() poor performance #3703

* chore(vscode): add file associations

* fix(TaskManager): waits for all threads in the ThreadPool #3704

* fix(Thread): call std::this_thread::sleep_for() to sleep #3703

* fix(PollSet): wakeup fd is never read #3708

* feat(Thread): Add Thread::set/getAffinity() #3709

* doc(Thread): Thread::trySleep() assertion #3710

* fix(PollSet): wakeup fd is never read (windows portion and some other optimizations) #3708

* feat(SocketReactor): improvements #3713

* chore(ThreadTest): add missing include

* fix(PollSet): wakeup fd is never read #3708

* fix(Any): #3682 #3683 #3692 #3712

* fix(mingw): lowercase winsock2 and iphlpapi to allow cross compile #3711

* feat(Thread): Add Thread::set/getAffinity() #3709

* chore(SocketReactor): one-liners inlined, removed redundant try/catch in dospatch, remove unused onBusy()

* feat(SocketReactor): add socket to ErrorNotification

* fix(SocketReactor): pollTimeout assignment and ConnectorTest leak
@SvenRoederer
Copy link

SvenRoederer commented Aug 11, 2022

This is a duplicate of #3728 which was merged with reference to 8fdc04d for 1.12.2 milestone.
But as this change somehow was missed to be bundled for the release, I suggest to flag here for v1.12.3 milestone and have it fixed then.

@aleks-f aleks-f added this to the Release 1.12.3 milestone Aug 11, 2022
@aleks-f aleks-f changed the title v1.12.0 and v1.12.1 Compile the abnormal v1.12.0 and v1.12.1 Poco::Any compile problem Aug 11, 2022
aleks-f added a commit that referenced this issue Aug 11, 2022
@SvenRoederer
Copy link

As the fix has been merged, this issue can be closed, right?
But change needs to go to master too, but this seems to be planned via branch "Fix/posix sleep" (#3705).

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

No branches or pull requests

4 participants