Hi,
I would like to use protoize, but it didn’t get installed with gcc.
I searched for it in Yast, but no luck.
Any ideas how to install this in openSUSE?
Thank you,
Augie
Hi,
I would like to use protoize, but it didn’t get installed with gcc.
I searched for it in Yast, but no luck.
Any ideas how to install this in openSUSE?
Thank you,
Augie
On Tue, 04 Dec 2012 19:36:02 +0000, AugieHenriques wrote:
> Hi,
> I would like to use protoize, but it didn’t get installed with gcc.
> I searched for it in Yast, but no luck.
>
> Any ideas how to install this in openSUSE?
> Thank you,
> Augie
Try searching the software repositories at http://software.opensuse.org/
search
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
Hi,
I didn’t see “protoize” there.
Saw “cproto”…
I’m not sure if this is going to work or no.
So far it crashes with segmentation fault when I try to run it.
Thank you,
Augie
protoize has been deprecated in gcc 4.4 and was finally removed in gcc
4.5 (openSUSE 12.2) is currently at gcc 4.7 so it has long been gone).
This was done by upstream not by openSUSE, most likely it will never
come back.
cf. http://www.gnu.org/software/gcc/gcc-4.5/changes.html
I would think the only option is to install an old enough gcc in
parallel to your system gcc.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GTX 650 Ti
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.3 | HD 3000
eCAFE 800: oS 11.4 i586 | AMD Geode LX 800@500MHz | 512MB | lamp server
On 12/04/2012 03:26 PM, Martin Helm wrote:
> protoize has been deprecated in gcc 4.4 and was finally removed in gcc
> 4.5 (openSUSE 12.2) is currently at gcc 4.7 so it has long been gone).
> This was done by upstream not by openSUSE, most likely it will never
> come back.
> cf. http://www.gnu.org/software/gcc/gcc-4.5/changes.html
>
> I would think the only option is to install an old enough gcc in
> parallel to your system gcc.
>
Maybe this helps? http://sourceforge.net/projects/cproto/
Hi,
The following sample code…
#include <stdlib.h>
void HandleArguments(int argc, char *argv])
{
}
int main(int argc, char *argv])
{
return 0;
}
Produces this error…
/src/tmp> cproto main.c
/* main.c */
"/usr/include/stdlib.h", line 118: syntax error at token 'typedef'
Segmentation fault
/src/tmp>
/src/tmp> vp /usr/include/stdlib.h &
[3] 15803
/src/tmp>
This is the line where the cproto has trouble.
/* Returned by `lldiv'. */
__extension__ typedef struct
{
long long int quot; /* Quotient. */
long long int rem; /* Remainder. */
} lldiv_t;
# define __lldiv_t_defined 1
__END_NAMESPACE_C99
#endif
Any ideas?
Thank you,
Augie