When using vlibs.
Moderator: Moderators
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
When using vlibs.
Be sure to use clang-cl with the /fallback flag and report any bugs to clang devs.
Re: When using vlibs.
whats holding you from writing down instructions to a wiki page?
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: When using vlibs.
Not able to compile the engine obviously. Assistance would be nice.abma wrote:whats holding you from writing down instructions to a wiki page?
Re: When using vlibs.
can you provide details? error messages?! steps what you did? this is why already documenting this in a wiki page would be handy, others can step into it, too.Super Mario wrote:Not able to compile the engine obviously. Assistance would be nice.
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: When using vlibs.
I don't keep track of the error messages and details that I have attempting to compile spring. Certain I don't think the wiki should be used for these things, rather than using the forum.abma wrote:can you provide details? error messages?! steps what you did? this is why already documenting this in a wiki page would be handy, others can step into it, too.Super Mario wrote:Not able to compile the engine obviously. Assistance would be nice.
Re: When using vlibs.
if you want/need help, you have to. for error messages use pastebin or sth. similar.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: When using vlibs.
Using the forum or the wiki are both fine for documenting/solving issues with new stuff, just mark the new wiki page with an appropriate warning.
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: When using vlibs.
mantised: https://springrts.com/mantis/view.php?id=4937
i wonder why it compiles with other compilers. are you trying to compile current development version?
i wonder why it compiles with other compilers. are you trying to compile current development version?
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: When using vlibs.
I'm trying to compile the dev version.abma wrote:mantised: https://springrts.com/mantis/view.php?id=4937
i wonder why it compiles with other compilers. are you trying to compile current development version?
Re: When using vlibs.
@Super Mario:
feedback: https://springrts.com/mantis/view.php?id=4937#c15094
can you try the manually expanding?
feedback: https://springrts.com/mantis/view.php?id=4937#c15094
can you try the manually expanding?
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: When using vlibs.
Like this?
It now telling me that it's expecting me to specify what type that CWaitCommandsAI::Wait is.
Hold on, the nested Wait class is declare private on the WaitCommandsAI.h...........
Why?
Edit: this line seems to be the culprit.
Code: Select all
template<class TCls, class TBase>
void Cr_bind_derived_interface(TCls, TBase)
{
bool TCls::creg_hasVTable = std::is_polymorphic<TCls>::value;
creg::IMemberRegistrator* TCls::memberRegistrator = 0;
creg::Class* TCls::GetClass() const { return binder.class_; }
creg::ClassBinder TCls::binder(TCls, (unsigned int)creg::CF_Abstract, &TBase::binder, &TCls::memberRegistrator, sizeof(TCls), alignof(TCls), TCls::creg_hasVTable, TCls::creg_isStruct, 0, 0);
}
Cr_bind_derived_interface(CWaitCommandsAI::Wait, CObject);
Hold on, the nested Wait class is declare private on the WaitCommandsAI.h...........
Why?
Edit: this line seems to be the culprit.
Code: Select all
creg::ClassBinder CWaitCommandsAI::Wait::binder(CWaitCommandsAI::Wait, (unsigned int)creg::CF_Abstract, &CObject::binder, &CWaitCommandsAI::Wait::memberRegistrator, sizeof(CWaitCommandsAI::Wait), alignof(CWaitCommandsAI::Wait), CWaitCommandsAI::Wait::creg_hasVTable, CWaitCommandsAI::Wait::creg_isStruct, 0, 0);
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: When using vlibs.
There are the errors from manually expanding the macros.
Edit: got the same error from gcc as well.
Edit: got the same error from gcc as well.
- Attachments
-
- error.txt
- (1.16 KiB) Downloaded 12 times