<div dir="auto">Salut<div dir="auto"><br></div><div dir="auto">Stiu ca pe masina virtuala as avea aceleasi erori pentru cs este identica cu cea de pe vmchecker, dar problema este ca nu stiu ce ar putea sa genereze erorile.</div><div dir="auto"><br></div><div dir="auto">Prima eroare (si cea care genereaza restul erorilor pentru ca structura nu mai exista) este legată de </div><div dir="auto">"typedef struct HashtTable{</div><div dir="auto">} hashtable;</div><div dir="auto"><br></div><div dir="auto">Am incercat sa redenumesc ca myTable si primesc aceeasi eroare</div><div dir="auto"> Error C2275 illegal use of this type as an expression, see declaration of myTable..</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_quote">---------- Forwarded message ----------<br>From: "Razvan Crainea" <<a href="mailto:razvan.crainea@gmail.com">razvan.crainea@gmail.com</a>><br>Date: Mar 15, 2017 00:00<br>Subject: Re: [so] Eroare compilare Windows<br>To: "Vlad Popa" <<a href="mailto:vladmegaboy@gmail.com">vladmegaboy@gmail.com</a>>, "Sisteme de Operare" <<a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a>><br>Cc: <br><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Mar 14, 2017 at 11:28 PM Vlad Popa via so <<a href="mailto:so@cursuri.cs.pub.ro" target="_blank">so@cursuri.cs.pub.ro</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_3524861449678638049gmail_msg">Ruland urmatoarele comenzi:<div class="m_3524861449678638049gmail_msg"><br class="m_3524861449678638049gmail_msg"></div><div class="m_3524861449678638049gmail_msg"><pre style="font-family:"courier new",courier;color:rgb(0,0,0)" class="m_3524861449678638049gmail_msg">C:\cygwin\home\Student>"C:\<wbr>Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" && nmake /nologo build
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
cl /nologo /w /DDLL_IMPORTS /D_CRT_SECURE_NO_WARNINGS /c hash.c
hash.c
link /dll /out:hash.dll hash.obj
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /w /DDLL_IMPORTS /D_CRT_SECURE_NO_WARNINGS /c main.c
main.c</pre><pre style="font-family:"courier new",courier;color:rgb(0,0,0)" class="m_3524861449678638049gmail_msg"><br class="m_3524861449678638049gmail_msg"></pre><pre style="font-family:"courier new",courier;color:rgb(0,0,0)" class="m_3524861449678638049gmail_msg">Primesc foarte multe erori precum:</pre><pre style="font-family:"courier new",courier;color:rgb(0,0,0)" class="m_3524861449678638049gmail_msg"><pre style="font-family:"courier new",courier" class="m_3524861449678638049gmail_msg">main.c(75) : error C2275: 'hashtable' : illegal use of this type as an expression
main.c(16) : see declaration of 'hashtable'
main.c(75) : error C2065: 'table' : undeclared identifier
main.c(77) : error C2065: 'table' : undeclared identifier
main.c(78) : error C2065: 'table' : undeclared identifier
main.c(78) : error C2223: left of '->buckets' must point to struct/union
main.c(80) : error C2143: syntax error : missing ';' before 'type'</pre><pre style="font-family:"courier new",courier" class="m_3524861449678638049gmail_msg">.</pre><pre style="font-family:"courier new",courier" class="m_3524861449678638049gmail_msg">etc</pre><pre style="font-family:"courier new",courier" class="m_3524861449678638049gmail_msg">Am rulat pe windows makefile-ul si se creeaza executabilul cu succes. Care ar putea fi problema?</pre></pre></div></div></blockquote><div>Salut, Vlad!</div><div><br></div><div>Ai rulat în mașina virtuală de Windows? Eu am rulat și primesc aceleași erori.</div><div><br></div><div>Numai bine,</div><div>Răzvan </div></div></div>
</blockquote></div>