Sponsored Content
Top Forums Programming CC versios 5.5 to 5.8 codecompatability Post 302743125 by Revathi R on Wednesday 12th of December 2012 06:54:23 AM
Old 12-12-2012
CC versios 5.5 to 5.8 codecompatability

Hello

Machine A:CC: Sun C++ 5.5 Patch 113817-07 2004/03/23
Machine B:CC: Sun C++ 5.8 2005/10/13

I have compiled a code with same options
/opt/SUNWspro/bin/CC -c -fast -O3 -DSYSTEMV -DCGM attdictionary.C

on both the Machines A,B

on Machine A i could see code successfully compiled
on Machine B it is not it reporting following Error
"attdictionary.C",line 226: Error: count is not defined.


i could see code some thing like this
.....
.....
function()
{

for(int count;count<10;count++)
{
...........
}

if(count<10)--->error coming here
{

}

}

ideally according to the scope rules it should report error but why it is successfully compiled on Machine A not on Machine B

is this due to compiler versions??

Any solution to the problem is helpful and appreciable.Thanks in advance.

Thanks
Revathi R
 
AFP_VOLUUID.CONF(5)						   Netatalk 2.2 					       AFP_VOLUUID.CONF(5)

NAME
afp_voluuid.conf - Configuration file used by afpd(8) to specify UUID for Time Machine volume DESCRIPTION
/etc/netatalk/afp_voluuid.conf is the configuration file used by afpd to specify UUID of Time Machine volume automagically. The configuration lines are composed like: "volume name" uuid-string The first field is volume name. Volume names must be quoted if they contain spaces. The second field is the 36 character hexadecimal ASCII string representation of a UUID. The leading spaces and tabs are ignored. Blank lines are ignored. The lines prefixed with # are ignored. The illegal lines are ignored. Note This UUID is advertised by Zeroconf in order to provide robust disambiguation of Time Machine volume. The afpd generates the UUID from random numbers and saves it into afp_voluuid.conf, only when setting "tm" option in AppleVolumes file. This file should not be thoughtlessly edited and be copied onto another server. EXAMPLES
Example. afp_voluuid.conf three TM volumes on one netatalk # This is a comment. "Backup for John Smith" 1573974F-0ABD-69CC-C40A-8519B681A0E1 "bob" 39A487F4-55AA-8240-E584-69AA01800FE9 mary 6331E2D1-446C-B68C-3066-D685AADBE911 SEE ALSO
afpd(8), AppleVolumes.default(5), avahi-daemon(8) Netatalk 2.2 8 March 2011 AFP_VOLUUID.CONF(5)
All times are GMT -4. The time now is 09:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy