Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-05-2008, 04:58 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Exclamation error: invalid initiliaser

hi, im a newbie too
i was coding something and this error popped out and i cant resolve it yet...

it goes that...

i created a " message_buf sbuf;"
than i type casted it to "(struct task *)&sbuf" in a function's parameter...
in that particular function i tried to type cast it back to message_buf in this way:
"message_buf rbuf=(struct message_buf *)&task;" but it gave "error: invalid initiliaser"...

is there anything wrong i am not aware of? thanks for your help...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting error in Hellow World Kernel: Error 13: Invalid or unsupported executable for piyush.kansal Programming 3 08-04-2007 02:26 AM
xen installation error: error 13: invalid or unsupported executable format Niceman2005 Linux - Software 0 01-05-2007 02:51 AM
Invalid Argument Error ahmedb72 Red Hat 1 02-25-2006 08:52 AM
c++: ERROR: Invalid indirection ashirazi Programming 0 08-22-2004 01:09 PM
installation error: Error mounting sda1: Invalid Argument sadirmata Linux - Newbie 1 01-29-2002 03:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration