Hi all,

Recently I've stumbled on an issue regarding the "AttributeValue" type, which 
is a boost::variant with 26 types in its template.

This makes the compiler truncate the symbol name (under Windows the compiler 
shows the C4503 
warning<https://msdn.microsoft.com/en-us/library/074af4b6.aspx>), because it 
exceeds 4096 characters. Not only may that cause linking issues, but also makes 
debugging a lot harder.

I've looked at the code and it seems that part of that variant (depth 3 arrays) 
is not used anywhere except for the tests and my suggestion is to remove it, 
until it's actually needed. I've verified, that this would fix the issue and 
here's my code change suggestion, so you can see what changes are required: 
https://gerrit.iotivity.org/gerrit/#/c/17195/.

Please let me know, what are your suggestions.

Pawel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170211/aeb56101/attachment.html>

Reply via email to