POLINK error on structured list

Just starting out? Need help? Post your questions and find answers here.
gnasen
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 24, 2008 12:21 am

POLINK error on structured list

Post by gnasen »

Code: Select all

Structure myStruct
  
  List mylist.i()
  
EndStructure

Define test.myStruct

AddElement(test\mylist())
test\mylist() = 3

AddElement(test\mylist())
test\mylist() = 5

Define *testPointer.myStruct = @test
Hey guys,
this results on my PB 5.20 LTS in a POLINK error. Could anyone test it?
pb 5.11
User avatar
IceSoft
Addict
Addict
Posts: 1694
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: POLINK error on structured list

Post by IceSoft »

Works on 5.2.1 LTS (x86)
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
STARGÅTE
Addict
Addict
Posts: 2228
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: POLINK error on structured list

Post by STARGÅTE »

no problem here (x86, x64).

anti virus software? Avira problem?
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
gnasen
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 24, 2008 12:21 am

Re: POLINK error on structured list

Post by gnasen »

STARGÅTE wrote:no problem here (x86, x64).

anti virus software? Avira problem?
You are right, disabling Avira Antivir solves the problem. However only on this source code? I never had an issue with it before.
And I would expect an false positive with the compiled code, not within the linking process!?
pb 5.11
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: POLINK error on structured list

Post by IdeasVacuum »

Add PureBasic.exe, PBDebugger.exe, PBDebuggerUnicode.exe, pbcompiler.exe, polib.exe, porc.exe to Avira's Excluded Files list.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply