Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Lim
  • Content: Threads
  • Order by date
  1. Lim

    Great MISTERY, what does this mean? (hp error)

    Ok, I got htis error on HP-UX 11, from make file: -------------- Pid 2692 receive aSGSEGV or stac gothfilre. Posiecaue: nsufcit meoyor saspac, or tacszeexcededmaxsi. -------------- What is that?????? Some kind of slang?
  2. Lim

    Creating tar from list, incorect tar ?

    HP-UX 11. I have list of files I want to tar, they all in one directory, so I do next : cat archives/9/9.filelist_exec_NT40_INTEL.win32|xargs tar cvf mytar.tarit it prints: a projbin/NT40_INTEL.win32/file1 5 blocks a projbin/NT40_INTEL.win32/file2 258 blocks .... all files frommy list. The...
  3. Lim

    gcc 3.0 + SGI = crup

    I have been upgrading gcc 2.9 to 3.0 on SGI (2.9 has a conflict with GLU library) and I could not belive how many problems new version has created to me. 1) Looks like they have chage algorith of name mangling, so all previously C++ compiled libraries with gcc 2.9 had to be recompiled to be link...
  4. Lim

    Set default value of array in constructor ?

    I can set default value for integer even for string (for me string is the same array of char's), but why I can not set default value for array of integer of two, for example: class A { public: A (int A=1, char *strName="Noname", int aI[2] = {-1,-1}) { m_A = A; m_strQName = strName...
  5. Lim

    fopen failed ?

    Have somebody have problem when programm compiled with SP6 doesn't work correct with SP6a. I use multy-threade dll mode so msvcrt.dll used. msvcrt.dll 272 kB 03/07/00 12:00 AM I am openning file (creating by next command) fopen("file.tmp","wb+"); It works with SP6 but on SP6a...
  6. Lim

    Pass macros definition in g++ command line?

    How to pass Macros definition to preprocessor with gcc g++ -DMY_DEBUG is not working. or g++ -UDEBUG is not turning off DEBUG macros definition in programm. DEBUG is always DEFINED even if I do not put any macros definition in comand line. How to undefined DEBUG macros for Release version? I am...
  7. Lim

    More problem with <vector>

    I have a problem with <vector>. I am compiling source for Nt (MS VC++); SGI, SUN, HP (GCC). I have found that <vector> has a different definition on SGI and NT (there is no .at on SGI and some protected function have a different name), but this is not a big problem I have found workaround for...
  8. Lim

    XPM editor

    Dose sombody know any graphic editor to create or edit XPM files? For Nt or UNIX.
  9. Lim

    int a[10]; a = &amp;a;

    Sorry for repeating this. I just sow it is a common mistake. Don't use extra &quot;&amp;&quot; for stack arrays. int a[10]; a == &amp;a; and my_func(a); is the same as my_func(&amp;a); Sorry again.
  10. Lim

    a[10] == 10[a]; how is that?

    int a[20]; Compiler reads a[10] as *(a+10); So it is not important how you type it. 10[a] == *(10+a); For Students: try it on your teacher!
  11. Lim

    Tricky C question?

    { double adArray[2]; void *pvPtr1 = NULL; void *pvPtr2 = NULL; pvPtr1 = (void*) adArray; pvPtr2 = (void*) &adArray; } What is the true? 1) pvPtr1 == pvPtr2; 2) pvPtr1 == *pvPtr2; 3) &pvPtr1 == pvPtr2; 4) All 1,2,3 are false. Please, just answer, try it later. I know the answer, I want to...
  12. Lim

    link master and local obj with gcc

    May be somebody knows. I keep my object files into two directories. In one is master code. In other is currently developing objects. When I am linking I want to use some files from master directory the others from current. With vendor compilers I am creating objlist.txt file with list of objects...
  13. Lim

    gcc link options ?

    May be somebody knows. I keep my object files into two directories. In one is master code. In other is currently developing objects. When I am linking I want to use some files from master directory the others from current. With vendor compilers I am creating objlist.txt file with list of objects...
  14. Lim

    Allocator for NT (fragmentation 1:80)

    Does somebody know GOOD memory allocator for Nt? My programm works on UNIX very good with very small memory fragmentation 1:1.5 (I use dlmalloc for UNIX it doesn't work good for Nt) On NT this is abnormal 1:80. I think standard Mictosoft allocator doesn't understand my pattern. Currently I can't...
  15. Lim

    Allocator for NT (fragmentation 1:80)

    Does somebody know GOOD memory allocator for Nt? My programm works on UNIX very good with very small memory fragmentation 1:1.5 (I use dlmalloc for UNIX it doesn't work good for Nt) On NT this is abnormal 1:80. I think standard Mictosoft allocator doesn't understand my pattern. Currently I can't...
  16. Lim

    Allocator for NT (fragmentation 1:80)

    Does somebody know GOOD memory allocator for Nt? My programm works on UNIX very good with very small memory fragmentation 1:1.5 (we use dlmalloc for UNIX it doesn't work good for Nt) On NT this is abnormal 1:80. I think standard Mictosoft allocator doesn't understand my pattern. Currently I...
  17. Lim

    Compiling C on Microsoft C++ with O2 level, doesn't work

    Does somebody have problem with compiling C source on Microsoft C++ with level O2 optimization? Without this switch it works, with optimization produce wrong result. It is not the first time. I am porting from UNIX to NT, UNIX is fine, but NT some time failed and it is very difficult to find...
  18. Lim

    Visual C++ optimizator problem

    Did somebody have problem with O2-optimization level compilation? When I compile source with O2 switch it works incorrectly, without this switch everything is Ok.

Part and Inventory Search

Back
Top