473,806 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What does near intialization mean

Hi
I am using a line of as
char recvedValues[ROWS][COLUMNS] = {'\0'};
in my code. I get a warning as near initialization for
recvedValues[0].
I am using gcc 3.4
Can anybody please explain the meaning.

Thanks
Aditya

Nov 12 '07
65 3617
Chris Dollin said:
Richard Heathfield wrote:
<snip>
>Chris, he's a troll. You know this. What did you expect, objectivity?

At this time, I don't believe he's a troll.
Fair enough. I thought the same once, so I can hardly complain.
(Being an argumentative
bagrag doesn't make him a troll; otherwise, for example, I'd qualify.)
It wasn't his argumentativene ss I had in mind. Still, obviously it's your
call.

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Nov 14 '07 #61
On Nov 14, 12:26 pm, Mark Bluemel <mark_blue...@p obox.comwrote:
Spiros Bousbouras wrote:
On Nov 13, 12:03 pm, Mark Bluemel <mark_blue...@p obox.comwrote:
Spiros Bousbouras wrote:
On Nov 12, 11:51 am, Mark Bluemel <mark_blue...@p obox.comwrote:
Aditya wrote:
Hi
I am using a line of as
char recvedValues[ROWS][COLUMNS] = {'\0'};
in my code. I get a warning as near initialization for
recvedValu es[0].
I am using gcc 3.4
Can anybody please explain the meaning.
Google for it... Or RTFM perhaps.
Perhaps he did Google for it. I did and the only match I
get is this thread.
http://www.google.co.uk/search?q=%22...tialization%22
There are answers to the original question in the first page of
results.
I read several entries before I lost patience and I didn't
find an explanation.

I felt that the second entry explained all that needed to be explained
about the warning. YMMV.
Furthermore googling for "near initialization
for recvedValues", which I consider more natural, only matches
this thread.

I can't imagine why Google would be expected to have information about
recvedValues - a variable name specific to Aditya's code.
Ok , you got me there , that was silly on my part.
Nov 15 '07 #62
On Nov 14, 12:40 pm, James Kuyper <jameskuy...@ve rizon.netwrote:
Spiros Bousbouras wrote:
On Nov 13, 12:03 pm, Mark Bluemel <mark_blue...@p obox.comwrote:
Spiros Bousbouras wrote:
On Nov 12, 11:51 am, Mark Bluemel <mark_blue...@p obox.comwrote:
Aditya wrote:
Hi
I am using a line of as
char recvedValues[ROWS][COLUMNS] = {'\0'};
in my code. I get a warning as near initialization for
recvedValu es[0].
I am using gcc 3.4
Can anybody please explain the meaning.
Google for it... Or RTFM perhaps.
Perhaps he did Google for it. I did and the only match I
get is this thread.
http://www.google.co.uk/search?q=%22...tialization%22
There are answers to the original question in the first page of
results.
I read several entries before I lost patience and I didn't
find an explanation. ...

??? When I ran that query, the very first result was a link to
<http://lists.apple.com/archives/Objc-language/2005/Feb/msg00021.html>,
where essentially the same question was being asked. Clicking on the
"Next by thread:" link on that web page took me to
<http://lists.apple.com/archives/Objc-language/2005/Feb/msg00022.html>,
which gave exactly the correct and most relevant answer. In my
experience, this is an unusually effective Google result.
You are right , the second entry does indeed explain the
warning. I skimmed through the first 2 entries , rejected
the 1st on the basis that it seemed to be talking about
Objective-C and rejected the 2nd on the basis that it seemed
to be a continuation of the 1st thread. I should have read
more carefully.
Nov 15 '07 #63
Spoon wrote:
Richard wrote:
>I simply do not like [his] modus operandus [...]

Nitpick. It's "modus operandi".
Nitnitpick. Operandus. He only has one.

--
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home .att.net>
Try the download section.

--
Posted via a free Usenet account from http://www.teranews.com

Nov 17 '07 #64
On Nov 15, 2:23 am, CBFalconer <cbfalco...@yah oo.comwrote:
Spoon wrote:
Richard wrote:
I simply do not like [his] modus operandus [...]
Nitpick. It's "modus operandi".

Nitnitpick. Operandus. He only has one.
Nitnitnitpick. Operandi is correct (it's a genitive singular).
>
--
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home .att.net>
Try the download section.

--
Posted via a free Usenet account fromhttp://www.teranews.co m
Nov 17 '07 #65
Fr************@ googlemail.com wrote:
On Nov 15, 2:23 am, CBFalconer <cbfalco...@yah oo.comwrote:
>Spoon wrote:
>>Richard wrote:
I simply do not like [his] modus operandus [...]
Nitpick. It's "modus operandi".
Nitnitpick. Operandus. He only has one.

Nitnitnitpick. Operandi is correct (it's a genitive singular).
The C language is not hard enough, now we deal with the L language? :-)

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Nov 17 '07 #66

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.