Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCompiling a Parser Generator generated file causes linker errors Pin
Manfr3d11-Apr-08 4:11
Manfr3d11-Apr-08 4:11 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
rp_suman11-Apr-08 4:40
rp_suman11-Apr-08 4:40 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Manfr3d11-Apr-08 5:05
Manfr3d11-Apr-08 5:05 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
rp_suman11-Apr-08 5:20
rp_suman11-Apr-08 5:20 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Manfr3d11-Apr-08 6:44
Manfr3d11-Apr-08 6:44 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Bram van Kampen11-Apr-08 12:33
Bram van Kampen11-Apr-08 12:33 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Manfr3d11-Apr-08 22:33
Manfr3d11-Apr-08 22:33 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Bram van Kampen13-Apr-08 3:21
Bram van Kampen13-Apr-08 3:21 
Well,
The functions yywclex(??) and yywcparse(??) have been declared, are being used in the stated modules, but have not been defined. That's why the linker cannot find them. Do a text search for these functions. If you cannot find a definition for them there may be something wrong with your generator. an other possibility is that you were supposed to write those yourself. Check the documentation for YACC. Thirdly, Is there a bug in your rules script, which results in YACC not generating those functions.
It is unlikely that there is something wrong with your linker. Also, because the code is in 'C', errors in type declarations may cause a run time issue, but will not be found by the linker. The functions:
'int f(int)' and 'int f(char,char) are both mangled to '_f' by the compiler.

Hope this helps
Smile | :)

Bram van Kampen

GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Manfr3d13-Apr-08 9:30
Manfr3d13-Apr-08 9:30 
GeneralRe: Compiling a Parser Generator generated file causes linker errors Pin
Bram van Kampen13-Apr-08 15:09
Bram van Kampen13-Apr-08 15:09 
GeneralDividing the bits in a 16 bit short value Pin
ChemmieBro11-Apr-08 2:28
ChemmieBro11-Apr-08 2:28 
GeneralRe: Dividing the bits in a 16 bit short value Pin
JudyL_MD11-Apr-08 2:42
JudyL_MD11-Apr-08 2:42 
GeneralRe: Dividing the bits in a 16 bit short value Pin
CPallini11-Apr-08 3:30
mveCPallini11-Apr-08 3:30 
GeneralRe: Dividing the bits in a 16 bit short value Pin
ChemmieBro11-Apr-08 4:15
ChemmieBro11-Apr-08 4:15 
GeneralRe: Dividing the bits in a 16 bit short value Pin
CPallini11-Apr-08 4:41
mveCPallini11-Apr-08 4:41 
GeneralRe: Dividing the bits in a 16 bit short value Pin
ChemmieBro11-Apr-08 4:48
ChemmieBro11-Apr-08 4:48 
Questionhow to set background color in visual studio 2005 and how to call matlab by MFC/C++?? Pin
johndoelee11-Apr-08 1:58
johndoelee11-Apr-08 1:58 
AnswerRe: how to set background color in visual studio 2005 and how to call matlab by MFC/C++?? [modified] Pin
Nitheesh George11-Apr-08 4:43
Nitheesh George11-Apr-08 4:43 
GeneralRe: how to set background color in visual studio 2005 and how to call matlab by MFC/C++?? Pin
johndoelee11-Apr-08 8:30
johndoelee11-Apr-08 8:30 
AnswerRe: how to set background color in visual studio 2005 and how to call matlab by MFC/C++?? Pin
Hamid_RT12-Apr-08 5:47
Hamid_RT12-Apr-08 5:47 
QuestionAdapter Type? Pin
Ajay L D11-Apr-08 0:46
Ajay L D11-Apr-08 0:46 
GeneralRe: Adapter Type? Pin
Gavin Taylor11-Apr-08 1:57
professionalGavin Taylor11-Apr-08 1:57 
Questionhow Chnage default backgroung color of Title bar Pin
ingoogle10-Apr-08 23:49
ingoogle10-Apr-08 23:49 
AnswerRe: how Chnage default backgroung color of Title bar Pin
followait11-Apr-08 0:37
followait11-Apr-08 0:37 
GeneralRe: how Chnage default backgroung color of Title bar Pin
ingoogle13-Apr-08 19:58
ingoogle13-Apr-08 19:58 

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.