Why do I get core dumps under HPUX using HP's ANSI C compiler?
Apache Server Frequently Asked QuestionsWe have had numerous reports of Apache dumping core when compiled with HP's ANSI C compiler using optimization. Disabling the compiler optimization has fixed these problems.
Related QuestionsIs Micro-C a full ANSI compiler?
FAQsMICRO-C is a "near ANSI" subset compiler. It does however, support more of the 'C' language than most other subset compilers, including: Micro-C has a long history, and began life as a K&R only compiler. It has evolved toward ANSI quite a bit, and continues to do so, however it is NOT a fully ANSI compliant compiler, and most likely never will be..
Related QuestionsDDS FAQs - Answers to Frequently Asked QuestionsAll 'C' statements: if/else while do/while for break continue return goto switch/case/default {} ; asm All 'C' operators: + - * / % & | ^ <<>> > <==> += -= *= /= %= &= |= ^= <<=>>= >= <= sizeof The following data types: int char unsigned (including: unsigned char) struct union extern static register void *(pointer to any type, incl. pointers and structs) bit "long" number math functions are provided in the library.Related Questions
I'm using C++ but would prefer to use a different compiler than the one on CEC. Is this possible?
CS 241 Frequently Asked Questions (FAQs)Sure. However, you will be responsible for making any needed modifications to the provided code. The provided IntervalTimer will not work on other platforms since it makes calls into the Unix operating system. You can replace this by whatever system utility you have to get the time. Then by getting the time before and after the algorithm runs you can take their difference to determine the elapsed time. Just be sure that your procedure is the only process running.
Related QuestionsHow Can I Enable or Disable Core Dumps?
How Do I Do This or Find Out That...By using the ulimit command in bash, the limit command in tcsh, or the rlimit command in ksh. See the appropriate manual page for details. If you wish to enable or disable core dumping for all processes by default, you can change the default setting in linux/sched.h. Refer to definition of INIT_TASK, and look also in linux/resource.h. PAM support optimizes the system's environment, including the amount of memory a user is allowed.
Related QuestionsIs your compiler ANSI-compliant?
Byte Craft Limited FAQ | Byte Craft LimitedByte Craft Limited compilers have not been certified as ANSI-compliant, and we do not advertise compliance. However, we have used the ANSI C specification in developing our C compilers since the draft standard was first made available, and we continue to participate in software standards discussions via the Standards Council of Canada. Most ANSI C conforming programs can be compiled by our compilers.
Related QuestionsIs C++ a superset of C? Can I use a C++ compiler to compile C code?
Infrequently Asked Questions in comp.lang.cC++ is a superset of something, we're not sure what. You can use a C++ compiler to compile C code, but the results may surprise you.
Related QuestionsHow do I call C++ functions from Gedae function boxes using the Microsoft Visual C++ compiler?
Welcome to Gedae's World Home!Let's assume that you already have a C++ library add_cpp.lib that was created inside the Microsoft Visual C++ workspace. This add_cpp.lib library contains a function float add_cpp(float a,float b) that you wish to use inside a Gedae function box. Follow these steps to access the function in your box: Write a new C++ file that provides a wrapper function for add_cpp() that exports the function to C using the extern "C" construct. In this example, create a file add_c.
Related QuestionsWhere is the C compiler or where can I get one?
Solaris 2 FAQWhere have you been? :-) Sun has dropped their old K&R C compiler, supposedly to create a market for multiple compiler suppliers to provide better performance and features. Here are some of the contenders: SunPro, SMCC, and various distributors sell a new ANSI-standard C compiler on the unbundled (extra cost) SPARCcompiler/SPARCworks CD-ROM. There are some other nice tools there too, like a "make tool" and a visual diff (interactive diff).
Related QuestionsPeople keep telling me that getch() is not standard, but my C compiler has it. Are they wrong?
Infrequently Asked Questions in comp.lang.cThey've been programming more than ten years. You haven't. Draw your own conclusions. That's right! They hadn't noticed it. No doubt their compilers have it too, and its behavior is identical everywhere else in the world, also. That would explain everything.
Related Questionsbut the compiler gave me error messages. Can't a structure in C contain a pointer to itself?
Infrequently Asked Questions in comp.lang.cNot exactly; it can contain a pointer to another structure of the same type. Try: typedef struct { char *item; double *next; } NODEFAKE; typedef struct { char *item; NODEFAKE *next; } NODEPTR;
Related QuestionsCan you support my C compiler XXX?
FFmpeg FAQIt depends. If your compiler is C99-compliant, then patches to support it are likely to be welcome if they do not pollute the source code with #ifdefs related to the compiler. Visual C++ is not compliant to the C standard and does not support the inline assembly used in FFmpeg. If you wish - for whatever weird reason - to use Visual C++ for your project then you can link the Visual C++ code with libav* as long as you compile the latter with a working C compiler.
Related QuestionsWhat C++ compiler is required?
OpenEye Scientific Software | FAQOEChem distributions are generally labelled clearly to indicate the corresponding compiler and version. Additional compiler support information can be found at the OpenEye Platform Support document, in the accompanying technical notes.
Related QuestionsWhere can I find a C-to-Forth compiler?
comp.lang.forth Frequently Asked Questions (1/6): General/Mi...We, ( CodeGen, Inc.) sell a C-to-Fcode compiler. Well, it actually generates IEEE-1275 Forth that then must be run through a tokenizer. Really, it generates pretty ugly Forth code. It's easy to generate lousy Forth, but it's very difficult to generate nice clean optimized Forth. C and stack-based languages don't mix too well. I end up faking a C variable stack-frame using a Forth $frame variable for local vars. MPE has produced a C to stack-machine compiler.
Related QuestionsHow do I get the Cygwin C++ compiler for Windows?
FAQThe easiest way is to buy the distribution CD from the IEEE Student Branch ($5 for IEEE members, $10 for non). It contains the Cygwin (GNU) C++ compiler, the Insight debugger, the "Teaching Machine" and instructional videos. If you have a fast internet connection and don't want the videos etc., you can go to Cygwin's site and click on the "Install Now!" icon. Be sure to install at least the following packages:
Related QuestionsI already have C++ compiler x, can I use it?
FAQYes, but you should compile and run your test cases using the Cygwin/GNU compiler (g++) in the lab before you submit your assignments. If it works there, then it's ok. (Of course we may find test cases for which your program doesn't work on any compiler.) where files is a list of one or more files that the compiler is to compile, and options is one or more of the following. (There are others, these are just the most relevant ones.) Give all warnings.
Related QuestionsCan I compile Octave with another C++ compiler?
Frequently asked questions about Octave (with answers)I'm looking for new questions (with answers), better answers, or both. Please send suggestions to bug-octave@bevo.che.wisc.edu. If you have general questions about Octave, or need help for something that is not covered by the Octave manual or the FAQ, please use the help-octave@bevo.che.wisc.edu mailing list. This FAQ is intended to supplement, not replace, the Octave manual.
Related QuestionsWhere can I get a free C++ compiler?
FAQ - CPPThis is most likely due to attempting to build a console program as a GUI application. If you intended to create a console app, make a new project with the console wizard.
Related QuestionsSome kits are available with Double C-Core transformers - what are their advantages?
Audio Note Kits - Frequently Asked QuestionsIn basic sonic terms, these transformers offer the very best depth and resolution, smoothly over the full audio range. For a more technical discussion, click here to read an Audio Note technical article on this very subject.
Related QuestionsI have a program which works correctly, but dumps core after it finishes. Why?
Frequently Asked Questions: C Language (abridged)Check to see if a structure type declaration just before main() is missing its trailing semicolon, causing main() to be declared as returning a structure. See also questions 10.9 and 16.4.
Related QuestionsMy Apache dumps core when I add both mod_ssl and PHP3?
SSL/TLS Strong Encryption: FAQ - Apache HTTP ServerMake sure you add mod_ssl to the Apache source tree first and then do a fresh configuration and installation of PHP3. For SSL support EAPI patches are required which have to change internal Apache structures. PHP3 needs to know about these in order to work correctly. Always make sure that -DEAPI is contained in the compiler flags when PHP3 is built.
Related QuestionsThe following program works correctly, but it dumps core after it finishes. Why?
Structs, Enums, and UnionsA missing semicolon causes the compiler to believe that main returns a structure. (The connection is hard to see because of the intervening comment.) Since struct-valued functions are usually implemented by adding a hidden return pointer, the generated code for main() tries to accept three arguments, although only two are passed (in this case, by the C start-up code). See also question 17.21.
Related QuestionsHey, my component just dumps core. What's going wrong?
Uno/FAQ - OpenOffice.org WikiSince it's hard to tell from a stack trace only, what is going wrong, please send as much information as possible. If you're lucky, you're the writer of the service and you can send the component implementation code and the code which instantiates the object as well. If you are not the component developer then you're forced to contact the component developer.
Related QuestionsWho can benefit from using Dublin Core metadata?
DCMI Frequently Asked Questions (FAQ)Anyone can use Dublin core metadata to describe the resources of an information system. Web pages are one of the most common types of resources to utilize the Dublin Core's descriptions, usually within HTML's meta tags however increasingly there are many digital archives of physical objects that are starting to make use of the Dublin Core.
Related QuestionsWhat is the "ANSI C Standard"?
Frequently Asked Questions: C Language (abridged)In 1983, the American National Standards Institute (ANSI) commissioned a committee to standardize the C language. Their work was ratified as ANS X3.159-1989, and has since been adopted as ISO/IEC 9899:1990, and later amended.
Related QuestionsWhere can I get a copy of the ANSI/ISO C Standard?
Tools and ResourcesTwo available packages are ''defunc,'' posted to comp.sources.misc in December, 1993 (V41 i32,33), to alt.sources in January, 1994, and available from sunsite.unc.edu in pub/packages/development/libraries/defunc-1.3.tar.Z, and ''parse,'' at lamont.ldgo.columbia.edu. Other options include the S-Lang interpreter, available via anonymous ftp from amy.tch.harvard.edu in pub/slang, and the shareware Cmm (''C-minus-minus'' or ''C minus the hard stuff''). See also questions 18.16 and 20.6.
Related Questions