public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Question
@ 2022-11-29  9:03 Mo Alamili
  2022-12-02  9:06 ` Question Mo Alamili
  0 siblings, 1 reply; 28+ messages in thread
From: Mo Alamili @ 2022-11-29  9:03 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

Hi,


Does GCC suffer from costly errors due to outdated versions of construction
drawings?


We have significantly reduced the error rate in version management for
similar companies such as: Dura Vermeer, Besix, TBI and Gebr. van der Lee.


There are often numerous different construction drawings in circulation.
This can result in costly errors, project delays and ultimately a lot of
extra work.


F5
<https://trail.f5-scan.com/api/t/c/usr_oaTXKPm4kwjPggogn/tsk_7dhAAytWEuqurvMP4/enc_U2FsdGVkX1-APak3oUSchzsbjVau3ReWWnav36sODuC43z9-RrWY-sh3hOt8XzX_9K8GWw93Iqo-wSEmVt6W39oqr6BbzGzdPWIrebP9SHdXVAqt4V8JFDflR1ahgr_x6afcRG_ng4RL-MkB4axNQg==>
helps avoid this and significantly reduces the error rate with automatic
QR-placements on all types of PDF documents regardless of the DMS system.


As a result, operational staff always have the latest version of the
construction drawings to base decisions on.


I’d love to show you more. Are you open to a call on Thursday this week?


Regards,


Mo Alamili | Co-Founder & CEO

F5 Scan | f5scan.com
<https://trail.f5-scan.com/api/t/c/usr_oaTXKPm4kwjPggogn/tsk_7dhAAytWEuqurvMP4/enc_U2FsdGVkX1-IRWknH02j20Np5E6tIMoVjW-Z2irdToCouihwhTkIztZTvNk8AnRA>

Schedule a meeting
<https://trail.f5-scan.com/api/t/c/usr_oaTXKPm4kwjPggogn/tsk_7dhAAytWEuqurvMP4/enc_U2FsdGVkX1-smR9AwtHl91Ns9uaGVfSGNbNPcKMOlVLXC5Gp_LLm-Weeg5eVPeCl5tPBbM0AwFo4UZRsNwUGZA==>
[image: logo]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Question
@ 2014-10-07 13:57 Graziano Servizi
  2014-10-12 12:54 ` Question David Hagood
  0 siblings, 1 reply; 28+ messages in thread
From: Graziano Servizi @ 2014-10-07 13:57 UTC (permalink / raw)
  To: gcc-help

I read in the 3.4.1.9 clause of the C++11 standard:

Name lookup for a name used in the definition of a friend function 
(11.3) defined inline in the class granting
friendship shall proceed as described for lookup in member function 
definitions. If the friend function is
not defined in the class granting friendship, name lookup in the friend 
function definition shall proceed as
described for lookup in namespace member function definitions.

Later, in the 11.3.6 clause I found:


A function can be defined in a friend declaration of a class if and only 
if the class is a non-local class (9.8),
the function name is unqualified, and the function has namespace scope. 
[ Example:
class M {
friend void f() { }
// definition of global f, a friend of M,
// not the definition of a member function
};
— end example ]


So, if I have well understood I could write such a short code:

# include <iostream>

class P
  {
   friend void friend_inline()
    {std :: cout << P :: Name << ' ' << p << '\n';}
   static constexpr int Name = 20;
   static constexpr double p = 12.5;

   };

int main()
  {
   P p;
   // how can I call friend_inline ?
}

which indeed is compiled by 4.8.3 g++ compiler. But the question is in 
the comment: I tried both the call as if friend_inline was in global 
scope (the standard said "global definition") and the call through the 
::  scope resolution operator such as

P :: friend_inline();

Neither worked. I also tried adding a public member to P as a "wrapper" 
of friend_inline (so making it and its friendship redundant), but the 
compiler claimed that friend_inline was undeclared in the class scope...

I can't understand...


                          Graziano Servizi


^ permalink raw reply	[flat|nested] 28+ messages in thread
* question
@ 2014-07-21  8:51 Graziano Servizi
  2014-07-21  9:10 ` question Jonathan Wakely
  0 siblings, 1 reply; 28+ messages in thread
From: Graziano Servizi @ 2014-07-21  8:51 UTC (permalink / raw)
  To: gcc-help

Is there an "undefined behaviour" in the following short code?


//
# include <iostream>
# include <functional>

  int main(  )
  {
   int c = 90;
   double r = 70;
   auto v = [c] (double c)
    {std::cout << "homonymous dummy argument ... " << c << std::endl;};
   v(r);
  }


//

I ask this because the gnu-gcc compiler prints out the value of the 
"captured" int c = 90 variable, while clang prints the value of the 
double r = 70 transmitted argument instead...


Thanks for your attention.

G. Servizi

^ permalink raw reply	[flat|nested] 28+ messages in thread
* question
@ 2014-02-03 17:37 Graziano Servizi
  2014-02-03 17:53 ` question Ángel González
  2014-02-04  8:11 ` question Jonathan Wakely
  0 siblings, 2 replies; 28+ messages in thread
From: Graziano Servizi @ 2014-02-03 17:37 UTC (permalink / raw)
  To: gcc-help

How could this (included) very short code work?
It isn't a NOT SAFE conversion that made inside void fun?

How can the A pointer know about the B's member f() ?

I'm using gcc 4.8.2 on a Linux Fedora 19 system.

Thanks for your help.

G. Servizi

Code follows:

# include <iostream>
using namespace std;

  class A {/*omissis*/};
  class B : public A
   {/*omissis*/
    public:
    void f( ){cout<<"bye\n";}};

  void fun(A *a)
  {
  B *b = static_cast<B *>(a);
  b -> f( );
  }

  int main( )
  {
  A *a = new A;
  fun(a);
  }

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Question
@ 2005-10-29 21:02 Matias Trocki
  2005-10-30  5:00 ` Question Ian Lance Taylor
  0 siblings, 1 reply; 28+ messages in thread
From: Matias Trocki @ 2005-10-29 21:02 UTC (permalink / raw)
  To: gcc-help

Hi
I need a compiler for C language. Only C if possible. I do not know how or 
where can I find this compiler.
Thanks
Matias

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Question
@ 2004-12-02 15:11 Roberto Ausas
  2004-12-02 15:25 ` Question Leopold Palomo-Avellaneda
  2004-12-02 15:36 ` Question Eljay Love-Jensen
  0 siblings, 2 replies; 28+ messages in thread
From: Roberto Ausas @ 2004-12-02 15:11 UTC (permalink / raw)
  To: gcc-help

Hi,

My name is Roberto.I am developing a computational code for scientific
calculations and I am using C and gcc to compile my programs. For
different reasons, I have to decide whether to pass to C++ or not, so I
would like to know if C++ programs (e.g. compiled with g++) are slower
than C programs? 

Thank you in advance

I look forward to hearing from you soon

Regards

Roberto

^ permalink raw reply	[flat|nested] 28+ messages in thread
* question
@ 2004-08-19 16:21 balan
  2004-08-19 16:27 ` question Eljay Love-Jensen
  0 siblings, 1 reply; 28+ messages in thread
From: balan @ 2004-08-19 16:21 UTC (permalink / raw)
  To: gcc-help


Hi 

This is balan frm chennai, i getting more help from the site 
http://gcc.gnu.org  pertaining to Gnu C++ Compiler  and thanx 

Answer to my question pls
What is abrevation of GNU ?

with regards 
balan


 







_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Re: question
@ 2002-06-13 16:17 Brett Hunt
  0 siblings, 0 replies; 28+ messages in thread
From: Brett Hunt @ 2002-06-13 16:17 UTC (permalink / raw)
  To: gcc-help, Antonio Fontinha

Add a '-v' without quotes to your compile command to see more information.
Like: gcc -v -o hello hello.c

Is the linker trying to link the same file twice? Have you inadvertently reused a name that exists in the libraries that are getting linked in?

Try the -v and see if that gives you more information that helps.
---
brett
-----------------------------------
"To the world you may be just
   somebody.
 But to somebody you may be the
   world."
-----------------------------------


On Thu, 13 Jun 2002 18:53:00  
 Antonio Fontinha wrote:
>Hi, I'm using gcc 3.0.4.
>
>And I'm getting the following error:
>
>TOIOSInterface.o: In function
>`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()':
>/export/home/eid/miguel/TO Transfer Agent/TOIOSInterface.cpp:63: multiple
>definition of `UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()'
>TOIOSInterface.o:/export/home/eid/miguel/TO Transfer
>Agent/TOIOSInterface.cpp:63: first defined here
>TOIOSInterface.o: In function
>`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()':
>/export/home/eid/miguel/TO Transfer Agent/TOIOSInterface.cpp:63: multiple
>definition of `UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()'
>TOIOSInterface.o:/export/home/eid/miguel/TO Transfer
>Agent/TOIOSInterface.cpp:63: first defined here
>collect2: ld returned 1 exit status
>make: *** [TOTransferAgent] Error 1
>
>
>What this error means?
>
>Isn't this error saying that I've a 1st definition and a 2nd definition in
>the same place? (TOIOSInterface.cpp:63)
>
>I can assure that there is only one
>`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()' definition. But this
>error occurs.
>
>What's happening? gcc confused? 
>
>
>Thanks for your help, best regards:
> Miguel Fontinha
>
>
>
>P.S.: Is their any gcc switch to activate to give more error information?
>
>


_______________________________________________________
WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes

^ permalink raw reply	[flat|nested] 28+ messages in thread
* question
@ 2002-06-13 10:54 Antonio Fontinha
  0 siblings, 0 replies; 28+ messages in thread
From: Antonio Fontinha @ 2002-06-13 10:54 UTC (permalink / raw)
  To: gcc-help

Hi, I'm using gcc 3.0.4.

And I'm getting the following error:

TOIOSInterface.o: In function
`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()':
/export/home/eid/miguel/TO Transfer Agent/TOIOSInterface.cpp:63: multiple
definition of `UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()'
TOIOSInterface.o:/export/home/eid/miguel/TO Transfer
Agent/TOIOSInterface.cpp:63: first defined here
TOIOSInterface.o: In function
`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()':
/export/home/eid/miguel/TO Transfer Agent/TOIOSInterface.cpp:63: multiple
definition of `UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()'
TOIOSInterface.o:/export/home/eid/miguel/TO Transfer
Agent/TOIOSInterface.cpp:63: first defined here
collect2: ld returned 1 exit status
make: *** [TOTransferAgent] Error 1


What this error means?

Isn't this error saying that I've a 1st definition and a 2nd definition in
the same place? (TOIOSInterface.cpp:63)

I can assure that there is only one
`UCS_TOTranferAgent::TOIOSInterface::TOIOSInterface()' definition. But this
error occurs.

What's happening? gcc confused? 


Thanks for your help, best regards:
 Miguel Fontinha



P.S.: Is their any gcc switch to activate to give more error information?

^ permalink raw reply	[flat|nested] 28+ messages in thread
* question
@ 1999-12-15 11:06 petar
  1999-12-31 22:24 ` question petar
  0 siblings, 1 reply; 28+ messages in thread
From: petar @ 1999-12-15 11:06 UTC (permalink / raw)
  To: help-gcc

Please,
I am interesting about your GCC or EGCS on Linux.
My question is:
Did anyone (GCC or EGCS) have garbage collector, and
if have how it works? 
I have problem with my program, when I want to reuse memory.
Is it clean? How can I reuse it? 
Of course, for the first aid, tell me where I 
can find answer (links...)
Thanks!

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Question
@ 1999-10-18 10:03 Rui Pedro Fernandes
  1999-10-31 13:57 ` Question Rui Pedro Fernandes
  0 siblings, 1 reply; 28+ messages in thread
From: Rui Pedro Fernandes @ 1999-10-18 10:03 UTC (permalink / raw)
  To: 'help-gcc@prep.ai.mit.edu'

Hi,

I wrote a C program that interprets messages received via TCP socket
connections and writes them to a log file. At the moment, the file's
pathname is a string constant defined in the source file, as follows:
   char TraceFile[] = "/user/lepaco/goted/dev/DEBUG/IEC_ALONE.log";
However I want to be able to define it in the makefile.
So I used    -DDEBUG_PATHNAME="/user/lepaco/goted/dev/DEBUG/IEC_ALONE.log"
in the cc command and replaced  'TraceFile' for 'DEBUG_PATHNAME' in the
source code.
But this doesn't work as 'make' says there is a " syntax error before / ".

Would you please help me on this?
Thank you very much

Rui Pedro

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-12-02  9:06 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200831201750.74266362@arch.localdomain>
     [not found] ` <20200903232726.ba28157e5ee86c0dbd76f723@wp.pl>
2020-09-04 22:49   ` Question, using gcc, forum tele
2020-09-04 23:44     ` Question tele
2020-09-05  7:31     ` Question, using gcc, forum Kai Ruottu
2020-09-05  8:15     ` Jonathan Wakely
2020-09-05 15:03       ` Dan Kegel
2022-11-29  9:03 Question Mo Alamili
2022-12-02  9:06 ` Question Mo Alamili
  -- strict thread matches above, loose matches on Subject: below --
2014-10-07 13:57 Question Graziano Servizi
2014-10-12 12:54 ` Question David Hagood
2014-10-13  9:55   ` Question Jonathan Wakely
2014-07-21  8:51 question Graziano Servizi
2014-07-21  9:10 ` question Jonathan Wakely
2014-02-03 17:37 question Graziano Servizi
2014-02-03 17:53 ` question Ángel González
2014-02-04  8:11 ` question Jonathan Wakely
2005-10-29 21:02 Question Matias Trocki
2005-10-30  5:00 ` Question Ian Lance Taylor
2004-12-02 15:11 Question Roberto Ausas
2004-12-02 15:25 ` Question Leopold Palomo-Avellaneda
2004-12-02 15:36 ` Question Eljay Love-Jensen
2004-08-19 16:21 question balan
2004-08-19 16:27 ` question Eljay Love-Jensen
2002-06-13 16:17 question Brett Hunt
2002-06-13 10:54 question Antonio Fontinha
1999-12-15 11:06 question petar
1999-12-31 22:24 ` question petar
1999-10-18 10:03 Question Rui Pedro Fernandes
1999-10-31 13:57 ` Question Rui Pedro Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).