Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to download fonts to laser printer Pin
Stober28-Mar-07 23:00
Stober28-Mar-07 23:00 
GeneralRe: how to download fonts to laser printer Pin
Mark Salsbery29-Mar-07 6:48
Mark Salsbery29-Mar-07 6:48 
QuestionHow to get the Error string of WSAGetLastError() Error code? Pin
TurboNext28-Mar-07 6:43
TurboNext28-Mar-07 6:43 
AnswerRe: How to get the Error string of WSAGetLastError() Error code? Pin
JudyL_MD28-Mar-07 6:45
JudyL_MD28-Mar-07 6:45 
GeneralRe: How to get the Error string of WSAGetLastError() Error code? Pin
James R. Twine28-Mar-07 6:49
James R. Twine28-Mar-07 6:49 
AnswerRe: How to get the Error string of WSAGetLastError() Error code? Pin
David Crow28-Mar-07 6:59
David Crow28-Mar-07 6:59 
AnswerRe: How to get the Error string of WSAGetLastError() Error code? Pin
TurboNext28-Mar-07 7:04
TurboNext28-Mar-07 7:04 
Questioncompile error: storage size of 'var' isn't known Pin
George_George28-Mar-07 5:46
George_George28-Mar-07 5:46 
Hello everyone,


I get a strange compile error when compile such simple program. Any ideas?

foo.c: In function `main':
foo.c:5: error: storage size of 'var' isn't known

foo.c

<br />
#include "goo.h"<br />
<br />
int main (int argc, char** argv)<br />
{<br />
    t_st var;<br />
    var.member = 100;<br />
    return 0;<br />
}<br />


goo.c

<br />
struct st {<br />
<br />
int member;<br />
<br />
};<br />
<br />


goo.h

<br />
typedef struct st t_st;<br />



thanks in advance,
George
AnswerRe: compile error: storage size of 'var' isn't known Pin
David Crow28-Mar-07 5:59
David Crow28-Mar-07 5:59 
AnswerRe: compile error: storage size of 'var' isn't known Pin
Nemanja Trifunovic28-Mar-07 6:28
Nemanja Trifunovic28-Mar-07 6:28 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 20:45
George_George2-Apr-07 20:45 
AnswerRe: compile error: storage size of 'var' isn't known Pin
prasad_som28-Mar-07 6:33
prasad_som28-Mar-07 6:33 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Mark Salsbery28-Mar-07 7:15
Mark Salsbery28-Mar-07 7:15 
GeneralRe: compile error: storage size of 'var' isn't known Pin
David Crow28-Mar-07 7:47
David Crow28-Mar-07 7:47 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Mark Salsbery28-Mar-07 8:05
Mark Salsbery28-Mar-07 8:05 
GeneralRe: compile error: storage size of 'var' isn't known [modified] Pin
toxcct28-Mar-07 8:20
toxcct28-Mar-07 8:20 
GeneralRe: compile error: storage size of 'var' isn't known Pin
David Crow28-Mar-07 8:24
David Crow28-Mar-07 8:24 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Eytukan29-Mar-07 1:41
Eytukan29-Mar-07 1:41 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 21:38
George_George2-Apr-07 21:38 
GeneralRe: compile error: storage size of 'var' isn't known Pin
toxcct28-Mar-07 8:21
toxcct28-Mar-07 8:21 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Mark Salsbery28-Mar-07 8:26
Mark Salsbery28-Mar-07 8:26 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Stephen Hewitt28-Mar-07 13:44
Stephen Hewitt28-Mar-07 13:44 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 20:56
George_George2-Apr-07 20:56 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 21:20
George_George2-Apr-07 21:20 
Questionhow to send mouseclickmsg to window? Pin
Goggelmoggel28-Mar-07 5:17
Goggelmoggel28-Mar-07 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.