Den 10. des. 2013 15:19, skrev Nicol TAO:
I want to using #define / #undef, and want to put them in a single
macro, some thing like:
#define DECALRE_TYPE(type) \
{ #undef __curr_type; #define _curr_type type; }
Why do you need to #undef it first? Can you do without the #undef and
use type
, this can not passed with CPP, but I need this logical here.
Generally, the problem comes from
#define ser_field(type, var) \
ser_new_field(tra, #type, #var, offsetof(struct_type, var))
I do not want another additional parameter in this macro like
#define ser_field(type,var,struct_type
David Witbrodt wrote:
However, I would like to keep this version of gcc. cpp-3.4 appears to be
just the pre-processor. I supposed I can remove this and still be able
to use the 3.4 gcc compiler (I want to retain libg2c0 as well). Do I
understand this right?
Sure, if you want to program in
David Witbrodt wrote:
hmm ... just took another look at the package descriptions. It seems
that the problem is libg2c0. How come this still depends on an older
version of gcc-3.4.6? I link some of my programs with some FORTRAN
libraries and need libg2c0. So for now I have been keeping gcc-3.4
> hmm ... just took another look at the package descriptions. It seems
> that the problem is libg2c0. How come this still depends on an older
> version of gcc-3.4.6? I link some of my programs with some FORTRAN
> libraries and need libg2c0. So for now I have been keeping gcc-3.4 at
> its olde
> However, I would like to keep this version of gcc. cpp-3.4 appears to be
> just the pre-processor. I supposed I can remove this and still be able
> to use the 3.4 gcc compiler (I want to retain libg2c0 as well). Do I
> understand this right?
Sure, if you want to program in C
-6) but 3.4.6-8 is to be
installed.
The following actions will resolve these dependencies:
Remove the following packages:
cpp-3.4
hmm ... just took another look at the package descriptions. It seems
that the problem is libg2c0. How come this still depends on an older
version of gcc-3.4.6? I
is to be
installed.
The following actions will resolve these dependencies:
Remove the following packages:
cpp-3.4
However, I would like to keep this version of gcc. cpp-3.4 appears to be
just the pre-processor. I supposed I can remove this and still be able
to use the 3.4 gcc compiler (I
> I did not install xorg package earlier - I began by installing
> > xserver-xorg-video-vesa, then added font and xterm packages.
> > Installed the xorg meta-pkg now using apt-get - it caught several
> > extraneous dependencies.
> >
> > The /usr/bin/cpp error
On Fri, Sep 14, 2007 at 05:07:17PM -0500, Gordon Pedersen wrote:
> On 9/14/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> > On Fri, Sep 14, 2007 at 12:35:20PM -0500, Gordon Pedersen wrote:
> > > > are there any errors in ~/.xsession-errors?
>
> >
On 9/14/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 14, 2007 at 12:35:20PM -0500, Gordon Pedersen wrote:
> > > are there any errors in ~/.xsession-errors?
> > sh: /usr/bin/cpp: No such file or directory
> apt-cache rdepends cpp
> shows, among
On Fri, Sep 14, 2007 at 12:35:20PM -0500, Gordon Pedersen wrote:
> I am top-posting the crucial error message. Context follows below,
> and in prior posts this thread.
>
> > are there any errors in ~/.xsession-errors? maybe there's a clue
> > there.
>
> s
I am top-posting the crucial error message. Context follows below,
and in prior posts this thread.
> are there any errors in ~/.xsession-errors? maybe there's a clue
> there.
sh: /usr/bin/cpp: No such file or directory
What is cpp (is it same as gcc)?
Why would it be referenced whi
Hi,
Could anyone help with this?
Thanks a lot.
Kevin SZ
[EMAIL PROTECTED]:~# apt-get install cpp-3.3
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the
HiI have a problem opening a .cpp file with emacsusing debian testing kernal 2.6.15 and emacs21 21.4a-3, I googled,search variables and help docs, asked at different forum for no avail.the problem happens only when I start emacs as a user but it does nothappen when I start it as root.I am
I want to set up a new box with the possibility to run the latest
version of qcad. Unfortunately, this is only available built against
cpp3, 5 and 6. I think sid has version 4 IIRC. Can anybody tell me if
it is possible to install sarge with version 3 (or 5 or 6)?
TIA
--
richard
--
To UNS
Yup. /LIB/CPP is no longer sane so I cannot get through the
usual ./configure;make;make install sequence!
This happened because of trying aclocal and automake to fix up an errant build
by the author's instructions.
Now do I fixe this up?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
w
I know this is old, but since I did not see a final answer, I thought I
would post so others could find the answer more easily.
I was getting the same problem with compiling GAIM and it turned out to
be that although gcc was installed, that gcc did not include c++
support. In Debian, I had to inst
On Tue, Nov 04, 2003 at 04:36:14PM +1100, Rob Weir wrote:
> > cpp doesn't seem to depend on g++, where I believe cc1plus is installed.
> >
> > Is this a broken package? And if so, which one?
>
> There have been on-going reports of cpp being broken in weird ways,
On Mon, Nov 03, 2003 at 12:33:43PM -0800, [EMAIL PROTECTED] said
> [EMAIL PROTECTED]:~$ echo "#include " > foo.cc
> [EMAIL PROTECTED]:~$ /lib/cpp foo.cc
> cpp: installation problem, cannot exec `cc1plus': No such file or directory
>
>
> I'm using
[EMAIL PROTECTED]:~$ echo "#include " > foo.cc
[EMAIL PROTECTED]:~$ /lib/cpp foo.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
I'm using on Sid:
ii autoconf2.57-11 automatic configure script builder
ii cpp 3.
> And mine...
>
> fennywood:/usr/src# update-alternatives --display cc
> cc - status is auto.
> link currently points to /usr/bin/gcc
> /usr/bin/gcc - priority 20
> slave cc.1.gz: /usr/share/man/man1/gcc.1.gz
> Current `best' version is /usr/bin/gcc.
>
> Jonathan Markevich writes:
jm> And mine...
jm> fennywood:/usr/src# update-alternatives --display cc
jm> cc - status is auto.
jm> link currently points to /usr/bin/gcc
jm> /usr/bin/gcc - priority 20
jm> slave cc.1.gz: /usr/share/man/man1/gcc.1.gz
jm> Current es
-D_X86_=1
| -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES-I.
| -I/usr/src/linux/include nv.c
| cpp: -lang-c: linker input file unused since linking not done
| cc: installation problem, cannot exec 'cc1': No such file or directory
| make: *** [nv.o] Error 1
| ---
|
| Does a
ltichar -O -D__KERNEL__ -DMODULE
> > > -D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1
> > > -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -I.
> > > -I/usr/src/linux/include nv.c
> > > cpp: -lang-c: linker input file unused since linking not do
-DNTRM -DRM20 -D_X86_=1
> > -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES-I.
> > -I/usr/src/linux/include nv.c
> > cpp: -lang-c: linker input file unused since linking not done
> > cc: installation problem, cannot exec 'cc1': No such file or directory
>
Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES-I.
> -I/usr/src/linux/include nv.c
> cpp: -lang-c: linker input file unused since linking not done
> cc: installation problem, cannot exec 'cc1': No such file or directory
> make: *** [nv.o] Error 1
> ---
>
> Does anyon
/src/linux/include nv.c
cpp: -lang-c: linker input file unused since linking not done
cc: installation problem, cannot exec 'cc1': No such file or directory
make: *** [nv.o] Error 1
---
Does anyone know what I need installed here? Thanks.
--
Jonathan Markevich <[EMAIL PRO
How to get the same syntax highlight for *.cc files as for the *.cpp files
(default) in XEmacs?
Thanks
Attila
--
--
- Mail: [EMAIL PROTECTED]; Debian 2.2 Linux / 2.2.13 / exim-
- Get my PGP key: gpg --keyserver
MACRO(x)
#define QUOTE_MACRO(y) #y
WRAP_STAT_QUOTE
(at least for GNU cpp it works!)
> (Please also reply to me in person, as I am not subscribed to this
> list).
--
joostje
of the space in between next_ and __xstat).
But this doesn't work, as apparently cpp takes everything after ##
literally, and now NEXT_STAT is defined ad next_WRAP_STAT.
Does anyone know how to remove the space, and make cpp expand
the macro WRAP_STAT?
The other, WRAP_STAT_QUOTE, also seems diffic
Luiken, Arijan writes:
> i have a question, when i installed debian (2.0) and i want to install x
> windows (or something else with dselect) i get the message that the
> program has dependency problems with cpp.
Some programs depend on other programs i.e. in this case X needs
On Thu, Aug 06, 1998 at 01:38:19AM -0700, Luiken, Arijan wrote:
> i have a question, when i installed debian (2.0) and i want to install x
> windows (or something else with dselect) i get the message that the
> program has dependency problems with cpp.
>
> anybody any idea&
Hi,
i have a question, when i installed debian (2.0) and i want to install x
windows (or something else with dselect) i get the message that the
program has dependency problems with cpp.
anybody any idea's ?
Kind regards,
Arijan
--
Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] &
On 17-Oct-97 Dean C. Sullinger wrote:
>>> I have written a basic C program just to try
>>> out gcc, the source code is...
>>>
>>> When I executed the application, it ran
>>> yet I did not get the "This is a test"
>>
>>You probably got the wrong "test" program. There's one built into bash
>>and t
>> I have written a basic C program just to try
>> out gcc, the source code is...
>>
>> When I executed the application, it ran
>> yet I did not get the "This is a test"
>
>You probably got the wrong "test" program. There's one built into bash
>and there's also an (equivalent) one in in /usr/bin/
t; printf("This is a test\n");
> }
>
> When I compiled it I ran:
>
> gcc test.c -o test
>
> When I executed the application, it ran
> yet I did not get the "This is a test"
> message to show up on my screen. I have
> read the doc's on gcc. Am I
"Dean C. Sullinger" wrote:
> When I executed the application, it ran
> yet I did not get the "This is a test"
> message to show up on my screen. I have
> read the doc's on gcc. Am I missing
> something? I even tried using cpp and
> I get the same
ecuted the application, it ran
yet I did not get the "This is a test"
message to show up on my screen. I have
read the doc's on gcc. Am I missing
something? I even tried using cpp and
I get the same results.
Thanks,
--
[EMAIL PROTECTED]
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-m
Looking for cpp 2.7.2.3-1 but not in unstable (interpreters). Where
can i found this ?
Marc
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .
Manoj Srivastava <[EMAIL PROTECTED]> writes:
> Pardon what maybe a silly question, but do you have libc5-dev
> and ncurses-dev installed?
>
> manoj
Sure.
$ dpkg -s ncurses3.0-dev
Package: ncurses3.0-dev
Status: install ok installed
[skip]
$ dpkg -s libc5-dev
Package: libc5-dev
S
Hi,
Pardon what maybe a silly question, but do you have libc5-dev
and ncurses-dev installed?
manoj
>>"Alexey" == Alexey Naidyonov <[EMAIL PROTECTED]> writes:
Alexey> I've just installed new cpp&gcc from unstable, and it seems
Alexey> doe
I've just installed new cpp&gcc from unstable, and it seems doesn't work.
E.g.
# cd /usr/src/linux/
# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/kernel-source-2.0.27/scripts/lxdialo
; and not even begun editing the Xresource files)
>
I see the same problem. At the office, I upgraded from 1.1 to 1.2.1 and
Xdm cant read its Xresources, complains about the "cpp" and starts
xconsole in non-iconic mode; at home, I did a fresh installation of 1.2.1
and there is
arted with a plain installation
and not even begun editing the Xresource files)
The errormessage goes:
# cd /var/log/
# cat xdm-errors
/usr/X11R6/bin/xrdb: cannot run '/lib/cpp -traditional -Dlinux
-D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SO
k, forget about vga=... settings, use now
a resolution of 132x60. I was confused about learning
dselect, especially with cycling through the sorting options.
======== cpp/gcc
There is a dependency problem with cpp/gcc. gcc depends on cpp and
replaces cpp! So I
a) installed
Hi,
> You can do this one of two ways (There may actually be more ways than
> this):
> dpkg -i --force-conflicts /path-to-package/gcc*.deb
> dpkg --purge cpp
You can even NOT do it, since gcc Depends: on cpp. Actually it would have
deleted cpp already if it conflicts with gcc.
Gre
On Tue, 26 Nov 1996, Edward Urenda wrote:
> I had installed the cpp package in lieu of installing gcc. I find myself
> getting more into programming and will require gcc.
>
> I have tried to avoid using deseled, opting to choose dpkg -i instead.
> How can I remove cpp witho
I had installed the cpp package in lieu of installing gcc. I find myself
getting more into programming and will require gcc.
I have tried to avoid using deseled, opting to choose dpkg -i instead.
How can I remove cpp without breaking any dependencies and replace it with
gcc, since the two cannot
"larry" == "Larry 'Daffy' Daffner" <[EMAIL PROTECTED]> writes:
larry> Fulko van Westrenen writes:
-> For one or another strange reason initx fails to read ~/.xinitrc
-> Does anyone know what the reason can be? All configurations look
-> normal to me. My .fvwmrc is read without any
-> pro
> "Fulko" == Fulko van Westrenen <[EMAIL PROTECTED]> writes:
Fulko> On all
Fulko> Unix/Linux systems I worked on there was a dos-unix
Fulko> conversion program (todos/fromdos, dos2unix,...) I haven't
Fulko> been able to find it in Debian. Is this correct?
Check out cr:
glebla
Hello,
The .xinitrc problem was solved. /etc/X11/config requires xsession
instead of xinitrc. xsession should be executable. Then all works.
Glut was uploaded as debian package yesterday :-)
Mesa still has to be upgraded to version 2
I changed from fvwm to fvwm2 and didn't see the windows freeze
wm. I seem to remember having problems with
fvwm freezing on me. About the only suggestion I can give here is to
upgrade to fvwm2. fvwm is dead, and besides, fvwm2 is much more
nicely configurable.
-> I would like to install GLUT (the OpenGL toolbox). For this I need to
-> make a makef
In <[EMAIL PROTECTED]>, Fulko van Westrenen <[EMAIL PROTECTED]> writes:
>Hello,
>
>I have some problems with my Debian system, and I think it is easiest
>to ask it all at once. I hope someone can help me.
> For one or another strange reason initx fails to read ~/.xinitrc Does
>anyone know w
On Thu, 2 May 1996, Craig Sanders wrote:
> Does gcc now have 'Provides: cpp'?
Yes. Now it's like this:
gcc - Provides: cpp, Conflicts: cpp
cpp - Conflicts: gcc
And they both have the /lib/cpp link.
Guy
On Wed, 1 May 1996, David Engel wrote:
> > > The problem is that the links /usr/bin/cpp and /lib/cpp don't come
> > > with gcc. If gcc really gives everything, it should give these
> > > symlinks as well.
> >
> > I think they now do in the very latest v
> Does gcc now have 'Provides: cpp'?
Yes.
> I had to install cpp 2.7.2-6 (even though i already had gcc 2.7.2-6
> installed!) a week or so ago because netstd depended on cpp.
Installing cpp shouldn't be necessary if you already have gcc.
> maybe netstd should depe
> Carlos> The problem is that the links /usr/bin/cpp and /lib/cpp don't
> Carlos> come with gcc. If gcc really gives everything, it should give these
> Carlos> symlinks as well.
>
> I think they now do in the very latest version, released yesterday.
That
Carlos> The problem is that the links /usr/bin/cpp and /lib/cpp don't
Carlos> come with gcc. If gcc really gives everything, it should give these
Carlos> symlinks as well.
I think they now do in the very latest version, released yesterday.
--
Dir
David Engel ([EMAIL PROTECTED]) wrote on 30 April 1996 17:43:
>> I'm somewhat confused. What precisely do you want to do ?
>>
>> Are cpp and gcc independent alternative packages ? If so then you
>> should use Provides/Conflicts.
>>
>> If cpp
60 matches
Mail list logo