Jump to content

Michaell

Members
  • Content Count

    25
  • Joined

  • Last visited

Everything posted by Michaell

  1. Hello, my project was made with the legacy classic Borland compiler. Now I have tried the Clang compiler (32 bit Windows) after some work all of my *.cpp files can be compiled but after the compile there are only <fileName>.#00 and <fileName>.d instead of <fileName>.obj files present. The compiler options '-o' or '-object' did not change anything. I found this stackoverflow.com thread for some equal problem. It tells (e.g.) to remove the '-cc1' option (I do not use (intentionally) any plugin). I would like to try it, but cannot find it in the Embarcadero C++ Builder project options GUI. 1) Where is the '-cc1' compiler option? 2) What can I do else to get the object files? Thanks a lot! Michaell
  2. Michaell

    Clang (bcc32c) is not creating object files

    Is this my problem?: If yes, what has to be changed in the project options?
  3. Michaell

    Clang (bcc32c) is not creating object files

    The help for the bcc32c.exe can be obtained via the CLI: ...\bin\bcc32c.exe -cc1 --help It list these two object file related options (and others which are may be also relevant?): -emit-obj -mincremental-linker-compatible I tried both but again no success, I really do not get it. 😕 Btw.: One of my initial questions was "Where is the '-cc1' compiler option?" (to try to remove it). The now available help tells that this is always the 1st parameter i.e. must be present.
  4. Michaell

    Clang (bcc32c) is not creating object files

    -tWM -o The '-o' was inserted by me. Due to this I tried again to remove all "Additional Options to pass to the compiler". Now it is really empty and it still compiles. Whatever the problem at my 1st try was, now its gone but it does not help for the original problem.
  5. Michaell

    Clang (bcc32c) is not creating object files

    I already deleted most of them, until it was no longer compiling.
  6. Michaell

    Clang (bcc32c) is not creating object files

    1) I'm not able to see unexpected options because I'm not aware what expected options are. I checked the existing options and I guess they are OK. 2) As I wrote above: The missing files are nowhere, i.e. also not in '...\Win32\Debug\' which is currently set in 'C++ Shared options | Intermediate output'. FYI: I have removed my '...\OBJ_test\' folder and cleaned the related project option, i.e. I expect now the object files in '...\Win32\Debug\'.
  7. Michaell

    Clang (bcc32c) is not creating object files

    I have "played" for hours with the GUI presented options w/o success, obviously it makes no sense if there is no (full) understanding of its purpose and the Clang (Embarcadero) help is not helping me. I decided then to ask "the forum" in the hope to find an experienced user.
  8. Michaell

    Clang (bcc32c) is not creating object files

    I'm using version 12.2, see also my set tags. Here is an example of a Clang call for 1 file: bcc32c command line for "_Main\_MainWin.cpp" c:\program files (x86)\embarcadero\studio\23.0\bin\bcc32c.exe -cc1 -D _DEBUG -D DEBUG -D FRAMEWORK_VCL -output-dir .\OBJ_test -I "c:\program files (x86)\embarcadero\studio\23.0\include" -I D:\... -I "C:\Program Files (x86)\..." -I <pathsRemoved> "c:\program files (x86)\embarcadero\studio\23.0\include" -isystem "c:\program files (x86)\embarcadero\studio\23.0\include\dinkumware64" -isystem "c:\program files (x86)\embarcadero\studio\23.0\include\windows\crtl" -isystem "c:\program files (x86)\embarcadero\studio\23.0\include\windows\sdk" -isystem "c:\program files (x86)\embarcadero\studio\23.0\include\windows\rtl" -isystem C:\Users\Public\Documents\Embarcadero\Studio\23.0\hpp\Win32 -isystem "c:\program files (x86)\embarcadero\studio\23.0\include\windows\vcl" -isystem "c:\program files (x86)\embarcadero\studio\23.0\include\windows\fmx" -isystem C:\Users\Public\Documents\Embarcadero\Studio\23.0\hpp\Win32 -debug-info-kind=standalone -fborland-define-external-types -fcxx-exceptions -fborland-extensions -nobuiltininc -nostdsysteminc -triple i686-pc-windows-omf -emit-obj -mrelocation-model static -masm-verbose -ffunction-sections -fexceptions -fseh -mstack-alignment=16 -fno-spell-checking -fno-use-cxa-atexit -fno-threadsafe-statics -main-file-name _MainWin.cpp -x c++ -std=c++17 -O0 -fmath-errno -tM -tW -o .\OBJ_test\_MainWin.obj --auto-dependency-output -MT .\OBJ_test\_MainWin.obj -tWM -Wno-writable-strings -Wno-format -object _Main\_MainWin.cpp Success Elapsed time: 00:00:05.2 In my output directory "\OBJ_test" and all other directories is no *.o or *.obj present. I guess the Clang compiler has a wrong option defined (as visible above, there are a lot of them), unfortunately I have no experiences with it.
  9. @weirdo12 I had today the same Clang problem, thanks for your post.
  10. Michaell

    12.2 Instability

    You mentioned both and both is using the same IDE.
  11. Michaell

    12.2 Instability

    No more C++ Builder crashes at debugging.
  12. Michaell

    12.2 Instability

    Solution at my system, modify via regedit: HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Debugging\HighlightDebugWindows from True to False
  13. Michaell

    12.2 Instability

    Hi, I have also such a very disappointing behavior at code debugging. I have not installed any 3rd party extensions. I.e. my faulty module is "rtl290.bpl" and "unknown" (the event viewer shows always two errors). I'm using the latest (October) offline installer version. Regards! Michael P.S. This is already the 2nd sever bug I discovered at C++ Builder 12.2.
  14. Michaell

    What is your Update Process?

    Most important: I don't do it if there is no -visible- benefit for my work. I.e. I usually skip minor releases and if there is a major release then I wait at least one month before using it. My project is really old and with almost each Embarcadero-SW update I run in new trouble. Like this time with 12.2 and the "Unable to load Project ... Duplicates not allowed" error. Don't use the Migration tool, too many issues in the past. Backup the entire system. Run the SW installer (and keep the Windows registry setting). Get praying and try my project. Search for help in at least 50 % of all Embarcadero-SW update cases. Restore all settings which got lost.
  15. I'm glad you could also clear your problem. Do what you like to do, until now I have not used the above linked portal and I will not start with it.
  16. The (better) solution was at my project: 1) Remove from several locations (especially from the *.cbproj file) this include: (BDSINCLUDE)\windows\vcl don't care how it looks, e.g. also: "c:\program files (x86)\embarcadero\studio\23.0\include\windows\vcl If done the error E2209 Unable to open include file 'vcl.h' should be shown but the error Unable to load Project ... Duplicates not allowed shall be gone. 2) Re-introduce the (BDSINCLUDE)\windows\vcl at one location, i.e.: Options -> Language -> C++ -> Paths and Directories -> System Include Path -> Windows-32bit -> Classic Compiler and compile again, now it worked at my side.
  17. I get "You do not have permission to view this request." Anyhow, thanks for this information. Bye! Michael
  18. Nice, 6 years later I have the same problem with the C++ Builder 12.2. I found 4 files (in folders ...\bin plus ...\Win32 and ...\bin64 plus ...\Win64) "DBXInterBaseDriver290.bpl" and renamed all of them to "_DBXInterBaseDriver290.bpl". This helps, but I got (and get) the error message: Can't load package c:\program files (x86)\...\bin\dclDBXDriversInt290.bpl The specified module could not be found. Do you want to ... So what does it means for my C++ Builder setup if I have the "DBXInterBaseDriver290.bpl" no longer available? Thanks!
  19. Hi, the C++ Builder 12.0 introduced 'Search -> Find Symbol' feature delivers in the related displayed dialog box title bar its search result, in my case: Find Symbol [0 of 0] -- Visual Assist So it is not working at all. Does it need some special prerequisite like "only working together with the Clang compiler"? Thanks! P.S. The Embarcadero feature help is here and the Whole Tomato feature help here. Both don't tell anything about problem fighting.
  20. Actually it is a Visual Assist (VA) bug (RSP-44054) and it occurs if this setting is in use: IDE -> Saving and Recovering -> Reopen last opened project when starting RAD Studio
  21. I closed the project, reopened it and after an automatically started file parsing task the 'Projects' window showed at its lower part: CodeInsight: Done Before it was CodeInsight: Stopped It seems that at my 1st try the file parsing was incomplete / interrupted and therefore the related feature 'Find Symbol' was out of work, i.e. the above reported issue is gone,
  22. Hello, I have a CHM help file which will be opened by my program via the Microsoft Windows 1) 'HH.exe' or if the user pushes 'F1' on the keyboard Windows will do it via 2) 'HelpPane.exe'. The 'HelpPane.exe' information I have seen here. My problem: Option 1) is working flawless but option 2) will disable the 'Ctrl+C' (copy to clipboard) keyboard shortcut for the opened CHM help file. Does anyone know how to overcome this problem? Thanks! Michaell
  23. Michaell

    'HelpPane.exe' vs. 'HH.exe' and *.chm file support

    I found a similar problem (Ctrl+F) at stackoverflow, it has one answer which seems not to help but the info that it was OK with Delphi 2007 and no longer OK with Delphi XE2. P.S. The search via 'Ctrl+F' is in my case also not working.
  24. Hello, 1) I'm wondering what happened to the 'C++ Audits' feature. In version 10.3 it was here: View -> Tool Windows -> C++ Audits But in my currently used version 10.4 Update 1 it is no longer present. 2) I also used Codeguard in the past, it is now out of work. You can find some matching error report here (link). Thanks for your help / information! Michaell P.S. I'm running Win10 V20H2, 64 bit and I'm installing the C++ Builder via an *.iso image (i.e. offline).
  25. This I was informed: The 'C++ Audits' feature was removed because it is incompatible to the Clang compiler. Codeguard is not working as soon as the dynamic runtime library feature is in use. This can be also the case if the related C++ linker option "Link with dynamic RTL, ..." is disabled. It may be fixed in some future release (i.e. > V10.4.2) I wonder why they have not compiler dependent 'C++ Audits' disabled? I.e. for the Clang compiler disabled but still usable for the classic Borland compiler .
×