-
Content Count
426 -
Joined
-
Last visited
-
Days Won
7
Roger Cigol last won the day on August 20
Roger Cigol had the most liked content!
Community Reputation
137 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
-
9.4 WPRTEDefs error compiling in Builder 12.3 C++
Roger Cigol replied to TSevet's topic in ICS - Internet Component Suite
WP tools: https://www.wpcubed.com/pdf/products/ I agree with @Angus Robertson - it's not clear why you posted your question under ICS. You might get an answer on this (DelphiPraxis) forum but maybe you would be better posting it on the WP forum: https://www.wpcubed.com/forum/board/ -
Polywick Studio - Delphi and C++ Builder developer.
Roger Cigol replied to PolywickStudio's topic in Job Opportunities / Coder for Hire
Where are you geographically speaking on the planet? -
There is now a "whats coming in RAD Studio 13" webinar (10th Sept). Sign up here: https://register.gotowebinar.com/register/8824728052527544667?source=rad-update-blog
-
Migrating a Delphi XE4 System to MSSQL, PostgreSQL, and Linux – Softacom’s Experience
Roger Cigol replied to Serge Pilko's topic in Tips / Blogs / Tutorials / Videos
Added support for Linux by rewriting ±769,000 lines of Windows-specific code Built a unit testing framework from scratch (500+ tests) A code base with towards 700 000 lines of windows specific code presumably has much more that is not "windows specific". To then claim that 500 unit tests is useful strikes me as a sentence aimed at people who have never worked with unit testing. Even my simplest projects have unit tests measured in thousands..... -
compiler C++ compile times: Clang (bcc32c) vs. Borland (bcc32)
Roger Cigol replied to Michaell's topic in General Help
Does this statement apply to Clang32 compiler ? I believe your statement to (in general) be the case for clang64 but am less sure it applies to clang32. -
compiler C++ compile times: Clang (bcc32c) vs. Borland (bcc32)
Roger Cigol replied to Michaell's topic in General Help
Are you using TwineCompile ? - for the 32 bit clang compiler this additional plug in (available FOC on getit) is virtually essential. -
Cost benefit analysis of moving project from Classic compiler to Clang
Roger Cigol replied to Lachlan Gemmell's topic in General Help
I agree entirely with @Michaell However there actually are often good reasons to switch, common ones are any of: a) you want to write 64bit applications b) you want to use any of the modern C++ features (for example the use of "auto" is often really useful (aka essential) for templates) c) you want to use any modern C++ library (most up to date versions of libraries fail to compile on "Classic") d) you employ a young C++ programmer who finds it frustrating to work with "Classic", having got used to working with modern C++ constructs available. For any project with a long term future there is likely to come a time where you will want to change to Clang. The compilation time is a real pain! But you learn to structure your code such that a full build of all files is not required so often. (There is also the "module" approach coming to C++ bit by bit which is claimed to speed up compilation, but that is very definitely another topic!). I have moved most of my main projects across to Clang. I have one more commercial project to migrate and am just waiting for the right moment (which is related more to commercial and administrative considerations rather than technical ones). -
Good morning @Michaell I will be honest: All of my projects used by customers are either Win 32 VCL using the Classic compiler (ie the old established projects) or Win 64 VCL using the "modern" clang compiler. So actually I have little "working" experience with the Clang 32 bit compiler. When I have upgraded a project from Classic I have gone first to the clang 32 compiler and then on to the Clang 64 "modern" compiler. I don't recall any migration being a real headache - although it's never a simple rebuild without doing anything ! I have today used RAD Studio 12.3 Enterprise to create a brand new C++ VCL 32 bit project. This uses a single form. It uses TEdit, TButton etc and also some of my own VCL components (which are written in C++ and are installed into the ide at design time). I use static linking for all packages, for the delphi run time and the delphi run time library (I do this for all projects I ship - I do recall in the past finding issues with my own components when I try to link at run time). I now have a working project. I can change between "Classic" and "Clang32" simply by selecting which compiler in the project options C++ compiler check box. The only other thing I have to do is manually change the library path to point to the directory with my *.lib file that contains the code for my own components (I have two builds of this - one done using the Classic and one done using the Clang32 <both have the same extension *.lib so I put them in different directories> - if I don't do this the project compiles ok but the linker reports loads of warnings saying that the library is built with the wrong compiler. I don't have any settings in the "additional options to pass to the compiler". I do have to do a full rebuild each time I swap the compiler type (completely reasonable!). All my source code, including the project file is in D:\Projects\Cigol quick test scratch\c code x For both cases the object code is output in D:\Projects\Cigol quick test scratch\c code x\Win32\Debug For both cases the object code files have a *.obj extension I think this only applies to the Clang 64 bit compilers
- 14 replies
-
- c++ builder
- v12.2
-
(and 2 more)
Tagged with:
-
It should compile with no additional options specified by the user - what do you see in this box ?
- 14 replies
-
- c++ builder
- v12.2
-
(and 2 more)
Tagged with:
-
In all my projects I have NO entries in the "Additional compiler options" So if you have something there and you don't know what it is I would suggest try deleting it.
- 14 replies
-
- c++ builder
- v12.2
-
(and 2 more)
Tagged with:
-
OK - I don't know if I qualify for your definition of "experienced user". But I am trying to help. By solving these sorts or problems we all become more experienced. But there is always more to learn (which is what makes life worth living). Please do check that you have no unexpected entries in "Additional options to pass to the compiler". Another thing to check is that you the object files are being created where you want them to be. Check project options: C++ Shared options | Intermediate output.
- 14 replies
-
- c++ builder
- v12.2
-
(and 2 more)
Tagged with:
-
I do recall (vaguely) once having to remove a load of options that were being passed to the clang compiler, without ever understanding where these options had come from. You need to check that there are no additional options being passed. Project options section: C++ Compiler | Advanced | Other options | Additional options to pass to the compiler
- 14 replies
-
- c++ builder
- v12.2
-
(and 2 more)
Tagged with:
-
This is strange: I have not seen this issue before when migrating from Classic to Clang32. What version of C++ Builder / RAD Studio are you using?
- 14 replies
-
- c++ builder
- v12.2
-
(and 2 more)
Tagged with:
-
Which compiler are you using? (Classic, Clang32 or Clang64) ? Try changing compiler and see if you get a different behaviour (I know this may not be a fix but it may be useful to know).
-
C++Builder 12 Update 1: Migrating project, compiler versions
Roger Cigol replied to BuilderFox's topic in General Help
But don;t worry (unless you also have delphi projects), C++ projects that use 3rd party components that happen to be written using Delphi will work just fine. C++ with the VCL or Firemonkey works fine too. Which ompiler to use depends on your aims for the upgrade. Does the original project use the 32 bit "classic" compiler? if so then for the first stage of the upgrade I would suggest continuing to do so. In my experience you will have very little problems (usual no problems) with this change