![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reg expression For | Harikrishna | Shell Programming and Scripting | 2 | 05-06-2008 10:40 PM |
| nawk empty regular expression error | Rjkz | Shell Programming and Scripting | 6 | 12-21-2007 08:07 AM |
| OR expression | Rock | UNIX for Dummies Questions & Answers | 3 | 05-03-2007 05:50 AM |
| Regular Expression + Aritmetical Expression | Z0mby | Shell Programming and Scripting | 2 | 05-21-2002 07:59 AM |
| compound expression in unix | spalmer | UNIX for Dummies Questions & Answers | 3 | 10-19-2001 09:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
1. Where is the error being raised? During compilation of which file, and what line does the line number indicate?
2. Do you have a common header file defining the prototype for "setup_ipc()"? |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Also I want to tell that I am using Makefile for compilation of my code and I had created my makefile with the help of qmake tool....
error being raised during compilation......in main.cpp file and error was in main.cpp indicating line having that function call------->>>> setup_ipc("msqueue",1234,INPUT_IPC,LARGE_QUEUE); Also i am using the common header file for defining the prototype of setup_ipc().. |
|
#10
|
|||
|
|||
|
It looked like it was trying to treat setup_ipc as a variable rather than a function.
Do you use Code:
extern "C"
{
...
}
|
|
#11
|
|||
|
|||
|
no I hadn't used extern
I had made the change that is ::::::: collecting whatever my function is returning like this:::::::: i=setup_temp_ipc("msqueue",1234,INPUT_IPC,LARGE_QUEUE); then its compiled correctly without any error.... |
|
#12
|
|||
|
|||
|
So what is setup_temp_ipc()? I thought you had a function called setup_ipc().
|
|
#13
|
|||
|
|||
|
oh.....sorry thats another function...........
I mean to say that I had used.... i=setup_ipc("msqueue",1234,INPUT_IPC,LARGE_QUEUE); instead of just calling :: setup_ipc("msqueue",1234,INPUT_IPC,LARGE_QUEUE); |
|||
| Google The UNIX and Linux Forums |