Hello,
When I try to compile any program I always get the following warning:
QuoteStructure template still open at close of .. wingdi.inc (start of search was at line 2795) Outstanding #if, #elif, #elseif, #ifdef or #ifndef at close of .. wingdi.inc
I'm using latest ECGo which has GoAsm 0.56.4m, version 0.56.4d doesn't display that warning.
Hi gabe,
Welcome to the forum. I am not sure of the include file that you are using but as the message says there is an unclosed structure and at least one incomplete conditional assembly block in it. You will have to go through it to find the source of the problem, the issue here is not with GoAsm or GoLink. If you could zip and post the include file I will take a look for you, I am getting pretty quick at trouble shooting header files ;)
I think it's the compiler, because GoAsm 0.56.4d doesn't display that warning or doesn't check the header file. The header is from ECGo package.
Here it is:
http://dl.getdropbox.com/u/347052/wingdi.zip
Thanks for helping.
Hi gabe,
it is definitely not the compiler, the following structure is wrong...
line 2795
EMRPOLYTEXTOUTA Struct
emr EMR <>
rclBounds RECTL <>
iGraphicsMode DD
exScale DD
eyScale DD
cStrings DD
aemrtext EMRTEXT <>
#Define EMRPOLYTEXTOUTW EMRPOLYTEXTOUTA
Missing an ENDS statement, should be
EMRPOLYTEXTOUTA Struct
emr EMR <>
rclBounds RECTL <>
iGraphicsMode DD
exScale DD
eyScale DD
cStrings DD
aemrtext EMRTEXT <>
ENDS
#Define EMRPOLYTEXTOUTW EMRPOLYTEXTOUTA
This is the source of all of your errors.
Hi gabe,
I have been watching the wingdi.inc file and it had a structure not properly closed, so I fixed the error. I cannot attach the modified file which solves the problem as it is 17,5 KB in size, so I uploaded to the website. You can download it at:
http://easycode.cat/English/Download/wingdi.zip
Please replace the wingdi.inc file in the \GoAsm\Include folder with the one you download from the link above. I'll send this file to Jeremy Gordon in order to be replaced in the ECGo package.
Sorry and thanks for your report.
Ramon
Thanks for fixing it.
QuoteI'll send this file to Jeremy Gordon in order to be replaced in the ECGo package.
I confirm that the ECGo package available from www.GoDevTool.com (http://www.godevtool.com) is now updated with all the latest include files.
Thanks Jeremy!