This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: PR fortran/51727: make module files reproducible, question on C++ in gcc


On 2012-10-13 20:00, Diego Novillo wrote:
On 2012-10-13 09:26 , Tobias SchlÃter wrote:
first a question also to non-gfortraners: if I want to use std::map,
where do I "#include <map>"?  In system.h?

No. Ada includes system.h in pure C code. Why not include it exactly where you need it?

Ok, I was just wondering if there's a rule because a quick grep revealed no non-header source file that includes system headers.


Thanks,
- Tobi


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