This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What does "profil" means in C++


Andrew Haley wrote:
On 10/03/16 16:08, Patrick Begou wrote:
If I replace "profil" by "profile" as the class name it works on all compilers.
"g++ -E -Wp,-dD" is your friend.

Andrew.


Thanks Andrew,

so profil is a function declared in /usr/include/unistd.h and it collapse with my type.
But this do not occur with all compilers...

I've looked everywhere and all the details were on my computer, in front of me:

man profil !

Thanks again for your short but very pertinent reply.

Patrick

--
===================================================================
|  Equipe M.O.S.T.         |                                      |
|  Patrick BEGOU           | mailto:Patrick.Begou@grenoble-inp.fr |
|  LEGI                    |                                      |
|  BP 53 X                 | Tel 04 76 82 51 35                   |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
===================================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]