Skip to content

CR 20240506: Compiler errors do not get highlighted #173

@kevlar700

Description

@kevlar700

Having extracted the appimage and ran doinstall to get around the following issue
#172

I have found that cleaning and compilation now works and the following compilation output is shown in the messages window. However nothing is shown under the Locations tab and no highlighting occurs within the IDE.

The output within the Messages window is as follows

alr --non-interactive --no-color --no-tty -q build -- -XELOGS_LIBRARY_TYPE=static -XLIBRARY_TYPE=static -XSTM32U599_HAL_LIBRARY_TYPE=static -XADAFLAGS=
ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/mnt/crypt/elansys/code/Ada/stm32u599_hal/stm32u599_hal.gpr", "-XELOGS_LIBRARY_TYPE=static", "-XLIBRARY_TYPE=static", "-XSTM32U599_HAL_LIBRARY_TYPE=static", "-XADAFLAGS="] exited with code4 and output: Changing to object directory of "Stm32u599_Hal": "/mnt/crypt/elansys/code/Ada/stm32u599_hal/obj/de
velopment/"\n/home/kc/.local/share/alire/toolchains/gnat_arm_elf_13.2.1_db1e9283/bin/arm-eabi-gcc -c -x ada -gnatA --RTS=/home/kc/.local/share/alire/toolchains/gnat_arm_elf_13.2.1_db1e9283/arm-eabi/lib/gnat/light-cortex-m33f/ -mlittle-endian -mthumb -mfloat-abi=hard -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -fno-tree-loop-distribute-patterns -g -g -gnatQ -fcallgraph-info=su,da -gnato -gnat2022 -gnatVdim -gnatwa.b.f.kl.o.st.wfy.XJh.ac.c_cgkm.mop.piq.q.r.tv.vwxz.z -gnatyaAbBdeklnOrsSuM100 -gnatd.v -gnatec
=/tmp/GNAT-TEMP-000002.TMP -gnatec=/mnt/crypt/elansys/code/Ada/stm32u599_hal/gnat.adc -gnatem=/tmp/GNAT-TEMP-000003.TMP /mnt/crypt/elansys/code/Ada/stm32u599_hal/src/drivers/stm32-spi-run.adb\nstm32-spi-run.adb:186:24: error: "SPI_CNumber" is undefined\nstm32-spi-run.adb:186:24: error: possible misspelling of "SPI_Number"\n\n   compilation of stm32-spi-run.adb failed\n\ngprbuild: *** compilation phase failed
ERROR: Compilation failed.
[2024-05-10 17:30:55] process exited with status 1, elapsed time: 00.64s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions