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

Wont compile for Delphi XE 10.4 #10

Open
dualarrow opened this issue Aug 27, 2020 · 2 comments
Open

Wont compile for Delphi XE 10.4 #10

dualarrow opened this issue Aug 27, 2020 · 2 comments

Comments

@dualarrow
Copy link

in unit Grijjy.CloudLogging.Protocol

procedure TgoCloudLogger.Send(const AService: String; const AMsg: String;
const ALevel, ADataFormat: Integer; const AData: TBytes);

the line

Msg.PushProtocolBuffer(Protocol);

complains about "Type parameter 'T' must be a non-nullable value type"

It was compiling in XE 10.3

I'm unable to resolve the problem. Any help appreciated.

@allendrennan
Copy link
Collaborator

This relates to an issue that was introduced in the 10.3 compiler. If you pull a more Grijjy Foundation it should be worked around, or if you utilize an updated Delphi compiler.

@luebbe
Copy link

luebbe commented Feb 5, 2021

Had the same issue when 10.4 was new. This problem is fixed in the current compiler.

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

No branches or pull requests

3 participants